Wasm has a little bit of unfounded hype. But I think it’s a good thing because there is plenty of unfounded skepticism about it and it helps to balance things out.
-
-
I think one of the most interesting use cases for WASM in 3D engines on the web is an Entity Component System. I’m unsure if it is feasible to implement it as of now (due to the JS -> WASM calls per frame) but there are plenty of optimized techniques in C++ available once it is.
-
Plenty of systems can avoid calling JS APIs altogether (physics, animation, etc.). Those that call a lot of JS APIs can be written in JS. The difficult part then is writing component managers backed by an ArrayBuffer for interoperability.
End of conversation
New conversation -
-
-
V. interesting, thanks for sharing!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.