Surely you’ve heard of WebGL by now, the Khronos-developed bindings to OpenGL for Javascript.  What you may not have heard of is a new API from Khronos called WebCL, the same thing but for OpenCL.  Mac Users can check out a simple prototype of the WebCL bindings for WebKit (safari) via a library at Google Code.

WebCL is a new activity in Khronos that is defining JavaScript bindings to OpenCL. The “WebCL for WebKit” project is an early implementation of WebCL for the open source WebKit browser engine. The design and implementation of WebCL for WebKit are similar to that of WebGL. A typical WebCL application will start by making a “WebCLComputeContext” which is then used to invoke OpenCL APIs. An example (not complete, but to show the flavor of WebCL) is:

webcl – WebCL for WebKit – Google Project Hosting.