Virtual Threads in Java

Virtual Threads in Java Professional Seminar

The use of virtual threads can assist us with improving the performance of our code. Learn how to use virtual threads effectively.

Exceptions in Java and Threads PRO

When a specific method throws an Exception that isn’t handheld the exception is passed over to the method from which that specific method was called. If that other method doesn’t handle the exception the exceptions is passed over to the previous method and so on. Eventually, the thrown exception reaches the primary method of the thread in […]

Microsoft .NET 4.0 Threading Enhancements PRO

I have recently updated the ‘C# Fundamentals’ course available for free personal and academic usage at www.abelski.com adding slides about the new multithreading capabilities added in .NET 4.0. The following video clips present those new capabilities. Parallelism can be achieved on multi core machines only. Multithreading can be achieved on single core machine as well. The Parallel […]

The window.requestIdleCallback Function in JavaScript

Calling this function we should pass over the function we want to be invoked in the background in those moments when the one and only thread is free (not busy with other tasks). <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script> function doInBackground() { console.log(“doing work in background”); } if (window.requestIdleCallback) { […]

HTML5 Web Workers Debugging PRO

As of Chrome 15+ you can debug the separated threads your application implement using the Web Worker API. The following short video clip shows how to do it. You can find more video clips and code samples for using the HTML5 Web Worker API in my free (for personal use) Introduction to HTML5 course. You […]

Concurrency with Isolates in Dart PRO

Dart is a single threaded programming language. Each isolate is a unit of work. It has its own memory allocation. Sharing memory between isolates is not possible. Each isolate can pass over messages to the others. When an isolate receives a message it processes it in a way similar to events handling. import “dart:isolate”; var […]

By Name Parameters in Scala PRO

When calling a function and passing over an argument which is an expression that needs to be evaluated, the expression will be evaluated before the function is invoked and its value will be passed over. This is the default behavior. By adding => in between the parameter name and its type we will defer the […]

HIT Android Spring 2012 ACD

During this semester (Spring 2012) I deliver an academic course dedicated to the Android platform. The course takes place in HIT as part of HIT Computers Science BSc academic program. The topics this course covers include the following: Introduction Application Resources The Intent Concept User Interface Controls Layout Managers Menus and Dialogs Touchscreens Style Definition App Widgets […]

Shenkar Scala Programming Summer 2012 ACD

During the summer semester I am going to deliver a Java & Scala Programming course in Shenkar. I deliver it as part of Shenkar’s Software Engineering BSc academic program. I am going to teach it on Thursdays 0800-2000. The course starts with a detailed coverage of the Java SE programming language and continues with a detailed […]

Shenkar Scala Programming Spring 2012 ACD

During the coming semester I am going to deliver a Java & Scala Programming course in Shenkar. I deliver it as part of Shenkar’s Software Engineering BSc academic program. I am going to teach two groups. The first group takes place on Sundays 0800-1300 and the second one takes place on Sundays 1700-2100. The course starts with […]

Skip to content Update cookies preferences