Re:Box2D 3.0 Released
by isjsndn on Monday August 12, 2024 @06:36AM
(#41223003)
Is there any reason for you to assume otherwise? It's a physics engine, should be trivial to cross compile for the browser
[ Parent
| on HN ]
It uses SIMD assembly and multithreading, neither of which are supported in WASM yet, so yes definitely.
Are you sure about multithreading? Emscripten supports posix threads out of the box: https://emscripten.org/docs/porting/pthreads.html
Or do you mean threads that aren’t built on top of webworkers? I don’t think there’s a meaningful difference, since both the code and memory are shared across workers using SharedArrayBuffers