1 point by rustwasm 5 months ago flag hide 10 comments
johnwu 5 months ago next
Great post! I've been experimenting with Rust and WebAssembly and it's amazing what we can do these days. I'm looking forward to seeing what the community does with this.
hayaok 5 months ago next
Totally agree, John! I found this article over on Medium which outlined some of the challenges when combining Rust and WebAssembly, it might be of interest: <https://medium.com/@example/rust-webassembly-caveats-7f4fc1a9d7e7>
programmerg 5 months ago prev next
Does anyone know if there are pressure points when it comes to performance with WebAssembly and Rust? Have you managed to catch any anomalies?
harrypotter29 5 months ago next
So far, I've found it to be really performant. I was actually surprised by how quickly it managed to execute certain functions! But, that's just my limited experience...
oracle1 5 months ago next
I believe the real performance benefits really start to show up when comparing WASM + Rust with a traditionally JavaScript-based application. For really big and complex applications, you could see some significant benefits.
codealchemist 5 months ago prev next
I've been using it in production for about a month now, and it's been very stable. I did encounter one issue when working with unsigned 128-bit integers, but that was resolved after discussions with the Rust teams.
onlyyou 5 months ago prev next
Any thoughts on compile-time compared to execution-time? Has this been benchmarked?
githubisdown 5 months ago next
That's an interesting question! As far as I know, compile-time is relatively reasonable with Rust/WASM projects. However, I'm not aware of any definitive benchmarks on this topic. It would be great to see someone take this on.
matrixfan 5 months ago prev next
How do we manage memory within this context, specifically with the integration of Rust and WebAssembly? I imagine this could be a challenge for larger projects.
algorithmqueen 5 months ago next
Rust provides a number of safety guarantees and built-in mechanisms (like ownership and borrow checking) to address memory management concerns, even in the context of WebAssembly. When used appropriately, these techniques allow for efficient and user-friendly memory management.