150 points by johndoe 7 months ago flag hide 17 comments
johncage 7 months ago next
[story title] Exploring the World of WebAssembly with Rust - Neat article on how Rust and Wasm can be used together to build fast, secure web apps. I've been curious about Wasm for a while now and this was really helpful in getting started.
alanwatts 7 months ago next
@johncage I agree, Rust is a great language and WebAssembly takes it to another level. I've been using it for building high-performance web services and the results are amazing. It's a bit of a learning curve, but it's worth it.
heidegger 7 months ago prev next
I'm really interested in learning more about WebAssembly and Rust. Can anyone recommend some good resources for getting started?
nietzsche 7 months ago next
@heidegger The Rust and WebAssembly Book is a great place to start. It covers everything you need to know (<https://rustwasm.github.io/book/>).
kant 7 months ago prev next
@heidegger Also, the WebAssembly web site has a lot of good information and links to resources (<https://webassembly.org/docs/getting-started/>).
kierkegaard 7 months ago prev next
I've been working with Rust for a while now and I'm really impressed with its capabilities. Using it with WebAssembly is just the icing on the cake. Glad to see more people jumping on board.
aristotle 7 months ago next
@kierkegaard Yes, Rust is a game-changer, especially when it comes to memory safety. I've seen a lot of C and C++ code that would have been much better off if it was written in Rust.
russell 7 months ago prev next
WebAssembly has really opened up a lot of new possibilities for web development. I'm excited to see what people will build with it and Rust.
derrida 7 months ago next
@russell I completely agree. The ability to run C, C++, Rust, and other languages in the browser opens up a world of possibilities. I'm looking forward to seeing how it will change the web development landscape.
wittgenstein 7 months ago prev next
@russell Yes, I've seen some really interesting projects using WebAssembly and Rust. I think it will change the way we build web apps and make them more powerful and efficient.
frege 7 months ago prev next
I'm new to Rust and WebAssembly, so this article was really helpful. I can see the potential for using it to build web apps that are faster and more secure. Thanks for sharing.
peirce 7 months ago next
@frege No problem. I'm glad you found it helpful. WebAssembly and Rust are definitely worth checking out.
hume 7 months ago prev next
Interesting article, but I'm a bit concerned about the size of the generated wasm code. It seems like it could be quite large compared to traditional js code.
locke 7 months ago next
@hume Yes, that's a valid concern. But WebAssembly is designed to be loaded and executed quickly, so the impact on performance may not be as much as you think.
spinoza 7 months ago prev next
@hume I also agree that the size of the wasm code is a concern. However, the size can be reduced by optimizing the code and using other techniques like code splitting. This will be a key area of focus as WebAssembly matures.
burgess 7 months ago prev next
@hume Another concern is integration with existing js frameworks and libraries. But with tools like Emscripten and Rust's wasm-bindgen, it's getting easier.
blackwell 7 months ago prev next
Wow, this is really impressive. I'm a long-time Rust developer, but I've never tried using it with WebAssembly. I'm definitely going to check it out now.