3 ms·
Rust is seen as more approachable by Javascript and Python devs, so they tend to learn it more often than C or C++. It is a lot more similar to JS than C++ is.
by pclmulqdq 4y ago
Rust is seen as more approachable by Javascript and Python devs, so they tend to learn it more often than C or C++.
It is a lot more similar to JS than C++ is.
- 8jy89hui 4y ago> It is a lot more similar to JS than C++ is. That is strange as I have experienced the opposite. I've written all three languages and I've noticed that JS patterns don't translate well to Rust. Many C++ patterns translate well to Rust (albeit after a bit of borrow checker fighting). Thoughts?
- smilekzs 4y agoRust iterators gives you JS vibes, with gotchas mostly related to lambda captures lifetimes. Once you accept that sometimes a `collect` is the easiest way out, it feels okay at the end of the day.