News for hackers. Stuff that matters.
Re:React Renderer for Three.js by nobbis on Sunday August 15, 2021 @04:19PM (#28192153)
You're correct. WebGL does require extra validation compared to native GL, but it's effectively the same API as OpenGL ES 2.0/3.0 and Emscripten handles the translation from C/C++ for you.

There's some overhead but it's negligible (assuming you're not making overly redundant API calls.)

Re:React Renderer for Three.js by shadowgovt on Sunday August 15, 2021 @10:19PM (#28194367)
And that last part is key: for modern high-performance graphics acceleration, the name of the game is "maximum throughput with minimum API interactions."

If your data isn't structured for fast rendering, it doesn't matter much what language you're using; they'll all be too slow.

Re:React Renderer for Three.js by rock_hard on Sunday August 15, 2021 @05:02PM (#28192511)
This is how Figma does it