I spent six months rewriting everything in Rust
"When building a web application with Rust versus JavaScript, I noticed several advantages of using Rust, including:1. Virtual DOM support for server-side rendering and rehydration2. Less code generation compared to JavaScript3. Stronger type safety and better error messages4. Faster performance due to better memory safety and lack of dynamic nature5. Compatibility with Wasm modules for deployment on the web6. More maintainable due to stronger type system and better error messages7. Industry-standard compatibility with tools like WGPU8. Access to third-party libraries using tools like wasm-bindgen9. Smaller ecosystem with fewer dependencies10. Opportunity for learning and contributing to the Rust ecosystemHowever, there are also some challenges and limitations to using Rust, including:1. Lack of JavaScript ecosystem and pre-built tools2. Difficulty with third-party dependencies3. Deprecated features compared to JavaScript4. Limitations of the Wasm spec5. Learning curve due to Rust being a relatively new language for web development6. Compatibility issues with some third-party services7. Download sizes and performance potentialIn conclusion, while Rust offers many advantages over JavaScript, there are also some challenges and limitations to consider when deciding whether to use it for web development."