Hacker News new | ask | show | jobs
by fizzledbits 2996 days ago
I work with emscripten and webgl and this looks like a fantastic tool for optimization in particular. Really looking forward to using it. Thank you!
1 comments

How much optimiztion can you squeeze out of webgl + wasm? Don’t you still have to call into JS?
Yes, it's definitely good practice to reduce calls to WebGL as much as possible (for instance through batching, instanced rendering, maintaining your own state cache etc...). Performance behaviour of WebGL is very different from a native GL implementation, but when keeping that in mind it's not too bad all in all.