Hacker News new | ask | show | jobs
by sethryclaus 2649 days ago
If you really wanted to burn your eyebrows off, you could also use a no-serialization tool like Capnproto and implement it in Rust using ArrayBuffers (fixed in Chrome) to share state between background workers and the main thread.

I think I read something about Rust having Capnproto and Emscripten compilation to web assembly these days.

1 comments

Rust does have both of those things, though Emscripten has fallen out of favor. There's a native LLVM target these days.