Hacker News new | ask | show | jobs
by flohofwoe 143 days ago
> Emscripten uses their val class for JS interop which wraps each canvas call in their abstraction layer.

This is an C++ embind thing right? At least the WebGL2 shim doesn't use that (and IMHO embind should never be used when performance matters), but that might actually explain a lot of the difference.