So there is much chatting going on about the new IE9 and the fact that this time Microsoft tried to adhere to web standards much more than it used to do in the past. Namely:
A very interesting news is that Microsoft is announcing GPU Acceleration for IE9. Now, we are a little short on details (and I’m not at MIX10 where IE9 is being presented) but I still see legends floating around.

Microsoft: not so much graved in stone anymore, it seems (Image via Wikipedia)
First, there is absolutely no way that IE9 (or any browser, for that matter) could offload to the GPU the whole Javascript engine (and not even the compilation step required by the JIT). Modern GPUs are massively paralleled calculators. They are very good at executing a 100-lines mathematical function at the same time in 4096 cores, which is exactly what you need to do graphics (2D, 3D, whatever) and heavy calculations like physics, simulations, and so on; but they can’t really go beyond this. Moreover, there is a measurable overhead in starting each GPU task (use DMA to fill internal memory, upload the task) and fetching results (DMA the results off the video memory into main RAM). So there is basically no way to use such a horse for running custom Javascript code.
In fact, what Microsoft is saying is that it will recompile Javascript in a different thread/process, offloading it to a different core of the CPU. This is probably a step forward in the right direction. IE8 already had a multi-process architecture much like Chrome does, and offloading the JIT itself to another process looks like a very good idea. I wonder what Chrome developers think of it.
So, what about GPU acceleration? It will be used in these main areas:
I plan to do a quick benchmark of IE9 this week. I will specifically be focusing on HTML5 canvas rendering, since that is the part where it is meant to shine, even compared to Chrome.
Stay tuned!

One Response
Lawrence Oluyede
18|Mar|2010 1I am not sure about the total demise of Flash, this would mean the total demise of Silverlight too… Microsoft is playing against its own interests? Happy for fast JavaScript support, DOM fixes and CSS3! By the way I read that the canvas tag is still not implemented. Let me know!
This comment was originally posted on FriendFeed