HACKER Q&A
📣 jvanderbot

JavaScript and/or front end developers, why are you switching to rust?


I've met and read articles by a lot of JS devs who are enamored with Rust. I love Rust and c and c++ because I work at systems level and sometimes in backend for robotic systems. Even in these domains, uptake of rust is mostly experimental.

But I'm ignorant about the uses of Rust in frontend, or as a replacement for javascript in other areas.

Am I misreading the situation or are JS devs really wanting Rust, and why and for what types of projects?


  👤 giorgioz Accepted Answer ✓
I'm a fullstack javascript developer I'm not switching to Rust but I like the whole concept of Rust and I wish it to thrive. It feels C++ never developed a ton of Developer Experience and Rust is finally a C++ with a better DX. For me one of the things about Rust is being a low level language with a decent package system. Also Rust tutorials they tend to be written in a modern actionable style like for JS/Python/Ruby. C++ has years and years of guides on the style "You wanna learn, sure, prepare yourself to bleed, a lot, it will be worth it though".

👤 akaike
I don't think anyone uses Rust seriously for frontend work or backend unless they have a justified, specific use case; otherwise, currently, it is just a waste of resources and time.