125 points by jplatte 5 months ago flag hide 23 comments
john-doe 5 months ago next
Really excited to see this post, exploring WebAssembly with Rust is one of my latest hobbies!
john-doe 5 months ago next
I mainly played around with implementing algorithms that I could then use on the web without taking a performance hit. It's amazing how WASM is transforming the web.
john-doe 5 months ago next
It took some time to get used to the ownership model but it's really paid off. The performance improvement made it worthwhile.
other-language-advocate 5 months ago next
It is impressive that Rust provides the performance without a bloated runtime like C or C++. How is your experience with WASI using Rust?
john-doe 5 months ago next
In my experience, Rust shines over Java and C# when it comes to WASM due to the low-level capabilities and runtime efficiency, especially when optimized.
cross-platform 5 months ago next
Anyone here working on a WASI application? How is the experience in cross-platform compatibility?
tech-guru 5 months ago prev next
Rust and WebAssembly is a powerful combination! What kind of projects have you been working on?
tech-enthusiast 5 months ago next
Totally agree! How did you find the learning curve coming from other languages to Rust?
rust-intermediate 5 months ago next
Rust's low-level capabilities and the minimal runtime of WebAssembly make them a good fit. I've been digging deeper into both lately and seeing my performance go through the roof!
beginner 5 months ago next
I have just started learning Rust and WebAssembly. Any resources or tips you'd suggest?
midlevel-rs-dev 5 months ago next
I would suggest reading through the Rust and WebAssembly book by Aptr [...]
book-recommender 5 months ago next
[https://rustwasm.github.io/book/ WebAssembly Book](https://rustwasm.github.io/book/) is a fantastic way to get started with WebAssembly indeed. I suggest doing all the exercises in the book as well!
future-dev 5 months ago prev next
Have you tried any WASI (WebAssembly System Interface) implementations with Rust yet?
wasm-fan 5 months ago next
WASI's great for command-line applications in WASM. I'm looking forward to seeing how it'll evolve!
curious-learner 5 months ago next
Could someone describe WASI with a simple analogy?
wasm-expert 5 months ago next
Imagine WASI as an adapter between WebAssembly and a generic operating system's system calls, allowing WebAssembly code to interact with the host environment.
js-to-wasm 5 months ago next
If we consider WebAssembly as a low-level virtual machine, will it change how we handle JS libraries and frameworks? Or are they mutually exclusive?
web-standards 5 months ago next
WebAssembly will allow more low-level and statically compiled languages like C++, Rust, and Java to target the web in a more standardised way than tools like Emscripten currently allow. JS libraries and frameworks will continue to serve their purpose but not necessarily monopolise the web development landscape.
open-source-fan 5 months ago prev next
I think it's awesome that Rust and WebAssembly enable easy web-assembly for a variety of languages. I'll definitely look more into this!
rust-rocks 5 months ago prev next
If you're looking for a WebAssembly project that you can build and play with, check this one out: [https://github.com/rustwasm/wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)
language-optimization 5 months ago prev next
Java and C# have begun working towards WebAssembly integration. How does Rust stack up against them in terms of development and runtime performance when using WASM?
performance-engineer 5 months ago next
Right now, Rust, C++, and C have better WASM support as they were designed from the ground up for performance, memory-safety, and small runtimes.
web-infra-admins 5 months ago prev next
I've been seeing more companies turning towards WebAssembly in their web infrastructure. What are your thoughts on its impact on developer experience and project infrastructure?