Yes, that is very true.
"tooling that can require a long and complex setup from an expert"
If one is on windows, one can 1. install visual studio community edition and 2. click "new project".
Sure, it's nowhere close to npm or Rusts's crates or go's dependency management but that's bit hyperbolic way to express it. I can waste hours trying to get Rusts' dependencies working if I'm using something bleeding edge.
Outside Windows, it's not so simple though. Most IDEs struggle with heavily templated code. For instance, I tried CLion for a while, but it completely runs into the ground when you use e.g. Armadillo (no completion, correct code is highlighted as incorrect).
I have spent a big part of my time trying to find that IDE developer experience back.
Nowadays Qt and KDevelop do a good job, but it wasn't always like that, specially in the mid-90's when we were already enjoying C++ Builder and Delphi on Windows.
Yes, this is the main reason I prefer visual studio :). I know my way around unixes but since I don't use them for my daily work I forget most of the things I would need to remember to be productive.
Contrast to apt-get install foo-dev or brew install foo on Linux and MacOS respectively.
Having a project that builds painlessly on third party developer machines requires effort from the project and is not guaranteed automatically by the chosen platform.
Apt-get also can fail if the dependency chain does not match exactly the configuration required by the project one wants to build.
The best way to build software on windows is different, perhaps even less elegant, but claiming that Linux/OS X builds are automatically correct does not match my experience.
Projects which have an incentive to provide a windows build usually can be built out of the box pretty painlessly, even with CMake.
From my experience, the best indicator of a pain free build on a platform is the number of users the project has on the said platform, not the platform.
Yes.
> Playstation
With a little effort, probably; the toolchains both use LLVM, and writing a custom target for Rust is possible. Someone managed to do it back in the dark times when Rust still depended on libuv [1]. I think that was before the "flexible target specification" [2] was a thing, too.
Whether Sony would allow you to distribute a game written in Rust is another question ;-)
> Xbox
Nope.
[1]: https://twitter.com/wickerwaka/status/479842553831776257 [2]: https://github.com/rust-lang/rfcs/blob/master/text/0131-targ...
> Yes.
Easily means using something like Visual Studio debuggers, with its graphical visualizers.
Command line gdb is something I use when there isn't any other option available.
Going by what was said above and how I developed in C++, it sounds like "easily" to me.
Visual Studio support is mostly gated on LLVM support for PDB. We do have support for using the MSVC toolchain as of a couple of releases ago, so I'm not actually sure what if anything is left to get that working.
Also many thanks for the MSVC toolchain, that is what I have been using.
* breakpoint debugging * ability to step debugger line by line * high quality watch window
GDB does not qualify as easy. Ability to printf debug, while 100% mandatory, is also not easy.
What often isn't mentioned is that C++ has a much more diverse ecosystem than Rust. C++ has four major compilers, three major standard library implementations, and 30 years of associated tooling and library development. Occasional serious issues in GCC and libstdc++ (or Clang and libc++, or in Microsoft, ...) do crop up, and the ability to cross reference alternative toolchains is quite valuable. If Rust can hit enough critical mass the ecosystem will develop, but it isn't there, yet.