Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
olalonde
· 13y ago · 0 comments
Sorry for the dumb question but how does the GPU execute Javascript? Or is it done in a declarative language specific to the GPU?
Comments
[–]
slackito
13y ago
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.