Quantcast
Channel: concurrency – blog.
Browsing all 20 articles
Browse latest View live

Devoxx highlights

In order to embrace the true Christmas spirit, I thought I’d share a few goodies from the Devoxx conference that took place in Antwerp, Belgium in mid December. Devoxx is the former JavaPolis that […]

View Article


Queued Background Tasks for Cocoa

The megahertz race is over, and instead we get more execution cores. This means that we as developers must make our applications parallel, in order to take advantage of the new performance. The easiest...

View Article


Performing any Selector on the Main Thread

Many UI frameworks, including AppKit for Mac OS X and UIKit for iPhone OS, require that all methods to UI components are sent on the main UI thread. Cocoa and Cocoa Touch make this […]

View Article

Awaitility – Java DSL for easy testing of asynchronous systems

Introduction Testing asynchronous systems is hard. Not only does it require handling threads, timeouts and concurrency issues, but the intent of the test code can be obscured by all these details....

View Article

Future Cocoa Operation

In Java you have for quite some time had the Future interface for encapsulating an asynchronous calculation. Cocoa has had the abstract NSOperation class to encapsulate asynchronous operations....

View Article


Sync-Async Pair Pattern – Easy concurrency on iOS

Apple provides many tools for implementing concurrency in your application. NSOperationQueue, GCD, or simply using performSelectorInBackground:withObject: that is available on each and every object,...

View Article

Invoke any Method on any Thread

I previously wrote a blog post titled Performing any Selector on the Main Thread detailing a convenience category on NSInvoication for easily creating invocation objects that could be invoked on any...

View Article

An actor model implementation in C# using TPL DataFlow

The actor model (Wikipedia) An actor is an entity that you can send messages to. In response to a message an actor can do any of the following: * Send messages to other actors […]

View Article


Async Servlets

It is now about four and a half years since the Servlet 3.0 specification was released in December 2009, together with Java EE 6. One feature that came in Servlet 3.0 was the possibility […]

View Article


Comparing Core Async and Rx by Example

Last week I saw a core async webinar where David Nolen of Cognitect presented the use of core async with its channels and go blocks in a frontend application using ClojureScript. While watching it […]

View Article

Devoxx highlights

In order to embrace the true Christmas spirit, I thought I’d share a few goodies from the Devoxx conference that took place in Antwerp, Belgium in mid December. Devoxx is the former JavaPolis that has...

View Article

Queued Background Tasks for Cocoa

The megahertz race is over, and instead we get more execution cores. This means that we as developers must make our applications parallel, in order to take advantage of the new performance. The easiest...

View Article

Performing any Selector on the Main Thread

Many UI frameworks, including AppKit for Mac OS X and UIKit for iPhone OS, require that all methods to UI components are sent on the main UI thread. Cocoa and Cocoa Touch make this quite easy by...

View Article


Awaitility – Java DSL for easy testing of asynchronous systems

Introduction Testing asynchronous systems is hard. Not only does it require handling threads, timeouts and concurrency issues, but the intent of the test code can be obscured by all these details....

View Article

Future Cocoa Operation

In Java you have for quite some time had the Future interface for encapsulating an asynchronous calculation. Cocoa has had the abstract NSOperation class to encapsulate asynchronous operations....

View Article


Sync-Async Pair Pattern – Easy concurrency on iOS

Apple provides many tools for implementing concurrency in your application. NSOperationQueue, GCD, or simply using performSelectorInBackground:withObject: that is available on each and every object,...

View Article

Invoke any Method on any Thread

I previously wrote a blog post titled Performing any Selector on the Main Thread detailing a convenience category on NSInvoication for easily creating invocation objects that could be invoked on any...

View Article


An actor model implementation in C# using TPL DataFlow

The actor model (Wikipedia) An actor is an entity that you can send messages to. In response to a message an actor can do any of the following: * Send messages to other actors * Create new actors * Set...

View Article

Async Servlets

It is now about four and a half years since the Servlet 3.0 specification was released in December 2009, together with Java EE 6. One feature that came in Servlet 3.0 was the possibility to decouple an...

View Article

Comparing Core Async and Rx by Example

Last week I saw a core async webinar where David Nolen of Cognitect presented the use of core async with its channels and go blocks in a frontend application using ClojureScript. While watching it I...

View Article
Browsing all 20 articles
Browse latest View live