Opera 10.60 Beta was announced this week and along with the list of new HTML5 features it’s supporting was Web Workers. Of course I was excited to run it through the renderer/worker test suite I set up for my previous posts about Safari 5 and Chrome 5. The results were pleasing, the first Opera release […]

Tagged:

Following the announcement of Safari 5 [ 5.0 (7533.16) ] today, I did some due diligence and ran it through the json-object, array, boolean and string Worker message cases that I had produced for testing against Chrome 5. The results are in and thankfully consistent – so not much to report here accept that – […]

Tagged:

About a month ago, I released jQuery.Hive/Pollen, a plugin + library for developing jQuery applications that use Web Workers. And as per usual, the number one question is “what can I do with workers?”. With that in mind, I decided that at least every month (and hopefully even more frequently then that) I would produce […]

Tagged:

This is mighty awesome. I’ve put together some test demos, to run them you’ll first need to get this Chromium build: 47357 WIN32 47357 MAC 47357 32-Bit Linux 47357 32-Bit Linux Then download these: https://gist.github.com/415116 client.html <script src="event-source.js"></script>; event-source.js document.addEventListener('DOMContentLoaded', function () { var eventSrc = new EventSource('events.php'); eventSrc.addEventListener('open', function (event) { console.log(event.type); }); eventSrc.addEventListener('message', […]

Tagged:

After updating to Chrome 5 (specifically 5.0.375.55) last night I immediately ran some tests to see if the Web Worker API had been updated to support postMessage() arguments of types other than string. Turns out, it had. Here’s the test, plus the results: https://gist.github.com/414901 renderer.html <script src="renderer.js"></script> renderer.js var worker = new Worker('worker.js'); worker.addEventListener('message', function […]

Tagged:

I’m a jQuery enthusiast. Maybe even an evangelist. So I decided to make workers easy for my fellow jQuery developers – and thus was born the jQuery.Hive. Inititally it began it’s life as PollenJS a jQuery-looking library of functions that were light, useful and thread-safe. This was before the WebKit implementation existed so everything was […]

Tagged:

As I mentioned in Part I, the Web Worker API is available for use in Firefox 3.5+, Safari 4+ and Chrome 4+, however the implementations are inconsistant. This has been completely overlooked by every single tutorial I’ve found. The issue revolves around the accepted argument to postMessage() (from both the main window and the worker). […]

Tagged:

This is long overdue. Also, it should serve as a context for my slides from jQuery Conference, San Francisco 2010 (use the up and down arrow keys to navigate). Whether or not you’ve read the WHATWG Web Worker spec and are looking for more information about Javascript multi threading OR you already have a rudimentary […]

Tagged:

I’m pleased to announce the addition of Elijah Grey as a core contributor to the PollenJS  project. Eli has an exceptional (albeit short)  background in JavaScript development using bleeding-edge technology. Just the kind of guy we like to have around bocoup.com. A few thing that Eli and I have already begun hashing out: Modular loading […]

Tagged:

As a follow up to my previous post regarding Javascript Web Workers, I’m pleased to announce the release of PollenJS, the first worker-specific javascript library: PollenJS on github PollenJS offers the following: Utility Methods fn trim each to_array in_array clone last unique merge filter map keys values isArr isFn isStr isNum isUndef isNull extend JSON […]

Tagged: