Show Navigation
Conversation
Notices
-
So I tried out Rust today, just for the heck of it. For a language that's being promoted as the big threat to C++ I gotta say the onboarding process is on the same level as not-terribly-popular languages like Haskell and D. "Here's a command prompt tool that will download stuff for you. Oh, and it can't install in another dir than a fixed location in your homedir. Editor support in VS Code kinda works but it feels like I need a command prompt all the time anyway (to be fair I get the same idea with D but again, D's not exactly worthshakingly popular).
-
To be fair, for a semi-popular language like D or Haskell that's essentially a community project without a big juicy sponsor behind it this is kind of what I expect. But D and Haskell aren't being promoted as the big "everyone switch to this" language that will replace C++. Now C++ has a fair amount of suck as well, library installation is painful except under Linux (distros are effectively C++'s package repositories), linting and such requires waiting for compilation (as opposed to being on-the-fly like in Java/C#), error messages can be a puzzle. But C++ has a lot of very mature tooling around it that makes programming in it while not painless generally as smooth as possible given the constraints of the language. For most users C++ is not a matter of "curl | sh" (yes, Rust's official installation method is curl | sh), it's "install Visual Studio and check the C++ option" or "install kdevelop and g++" (assuming that's not already a dependency). From the little bit I've seen so far Rust just feels a lot of years, probably decades, away from being an actual contender in most shops where C++ is used.