Hacker News new | past | comments | ask | show | jobs | submit login

Communication between the part of the program that runs on the CPU and the part that runs on the GPU is typeless and requires manually marshalling arguments. Javascript programmers will shrug at this, but for people used to strong type checking and better automarshalling of RPC it's very disappointing.



As a fun exercise, try sketching out what a stronger-typed API for shaders and shader parameters would look like.

It's a useful exercise in understanding why such a thing wasn't done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: