News for hackers. Stuff that matters.
Re:Seriously.js by olalonde on Thursday June 06, 2013 @03:40AM (#5831043)
Sorry for the dumb question but how does the GPU execute Javascript? Or is it done in a declarative language specific to the GPU?
Re:Seriously.js by slackito on Thursday June 06, 2013 @04:29AM (#5831196)
The GPU doesn't execute Javascript. It runs small programs called "shaders", written in GLSL (the OpenGL shading language), which are compiled on the fly by the graphics driver to something that can be actually executed on the GPU.