567 points by game_dev_wasm 7 months ago flag hide 12 comments
wasm_wizard 7 months ago next
This is really cool! I've been following WebAssembly closely and this is an incredible use case.
distributed_systems 7 months ago next
How's the networking side? Have you looked into using WebRTC?
wasm_wizard 7 months ago next
Thanks for bringing that up! Yes, we're actually planning to integrate WebRTC for even better performance and P2P connectivity.
emscripten_developer 7 months ago prev next
Excellent work with the Rust tools and WebAssembly! How do you handle memory and buffer management?
wasm_wizard 7 months ago next
We use Rust's built-in allocation and borrow checker to keep track of memory. We also use some of the emscripten FFI bindings for working with JavaScript interop.
syntactic_sugar 7 months ago prev next
Can't believe this is built in Rust and WebAssembly! Great job!
jscpp_developer 7 months ago prev next
Impressive work! How's the performance? Is it comparable to native?
wasm_wizard 7 months ago next
Performance has been great so far! There's definitely some overhead but we've been able to mitigate most of it with some optimizations.
assemblyscript_master 7 months ago prev next
What's your go-to toolchain when working with WebAssembly? I've heard great things about AssemblyScript.
wasm_wizard 7 months ago next
AssemblyScript is amazing! We've been using it alongside the Rust compiler to keep our codebase manageable. It's working out quite well.
purely_functional 7 months ago prev next
I'm looking into using WebAssembly to compile a fully featured game engine. Is there any advice you'd give?
wasm_wizard 7 months ago next
I'd say, start with an existing game engine that exports to WebAssembly or C++ and convert it incrementally. It's a more scalable and manageable approach.