3 ms·
Last year between jobs I spent some time with Node.js and Rust. Rust, as a language, isn't a good choice for simple web applications. It's compiler-checked man
by gwbas1c 5y ago
Last year between jobs I spent some time with Node.js and Rust.
Rust, as a language, isn't a good choice for simple web applications. It's compiler-checked manual memory management. Most of the time I spent with Rust was just getting boggled down in arcane syntax that would probably take me months to become familiar with.
In contrast, Node.js with garbage collection is blazingly fast for web applications.
Rust, though, introduces some really good concepts that I'd like to see in other languages. Matching and error handling takes some time to get used to, but it's much more advanced than exceptions. (Specifically, the caller, not the callee, decides which errors are exceptional and which errors it can pass up the stack.)