I've been working on getting my C multicore-runtime to run on the web.
It's still early, but this is a fully multi-threaded renderer + physics running on WebGPU and WASM.
100k cubes, 60 FPS
The interesting part is that WASM doesn't have a threading runtime, so I had to implement one from scratch.
That involves implementing thread stacks, thread local storage, mutex, semaphore, etc. All in user space, abstracted in a os_ layer.
I'll be writing an in-depth article about the implementation soon