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 ArticleQueued 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 ArticlePerforming 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 ArticleAwaitility – 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 ArticleFuture 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 ArticleSync-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 ArticleInvoke 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 ArticleAn 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 ArticleAsync 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 ArticleComparing 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 ArticleDevoxx 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 ArticleQueued 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 ArticlePerforming 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 ArticleAwaitility – 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 ArticleFuture 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 ArticleSync-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 ArticleInvoke 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 ArticleAn 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 ArticleAsync 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 ArticleComparing 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