Tim Moores wrote:Does the book delve into how to use Rust for developing Wasm code?
Even if not, I wondered if you had any opinion on using Rust for Wasm development. There is a bunch of detailed documentation at https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm to get started with. If I wanted to dip my foot into those waters, are those the tools you might use? Specifically, rustup and wasm-pack. I'm comfortable with CLI tools, just wondering if there are other options that a seasoned pro might prefer.
I am completely ignorant of how to use Rust for WASM, but I'm very interested. For many years, I've used Elm (a dialect of Haskell) to transpile JS for interactive HTML, and I use JS or Python to write APIs. I would love to use Rust to replace all of this, but I would note that using Rust to interact with databases has been painful for me. Python is much looser about types and executing SQL and dynamically sorting out the tuples whereas Rust wants very
string models for all this. My current job requires no web development. If I ever move back to that space, I'll be very interested to see how Rust develops.