by bschwindHN · 10y ago · 0 comments
> Their development tools are unequaled
Have you ever done any cross-platform C++ programming? That might change your opinion a bit.
And if you're working on a cross-platform project, it's probably using CMake or something similar. The development cycle of `cmake .. && make` is simple and easy. As far as I could tell, Windows builds were not as straightforward. It's been awhile so maybe they've improved it, but I would hardly call their developer tools "unequaled"
I just want to install Clang in a straightforward manner, call the above-mentioned `cmake .. && make`, and have an exe waiting for me. Is that possible now? It wasn't in the past which is why I'm highly suspicious of your "hands down developer friendly" comment. Windows always seems to be the platform that has to do things slightly different, and has offered the most friction when developing projects that run on OS X, Linux, and Windows.
EDIT: I would also like to add that most CI services offer at least G++ or Clang++. AppVeyor seems to support Windows builds with MSVC but isn't free. This is yet another hindrance to smooth cross-platform development.
So in that regard, yes their IDE is one of the best, but their platform sort of diminishes the developer-friendliness of the whole experience when developing on Windows.
I need to check out CLion again, haven't tried it since they released one of the first versions.
Have you ever used other ones? Some of them on the embedded space don't even support C++11!
Ever you ever tried cmake besides BSD, GNU/Linux, Windows?
There are lots of other platforms out there, have you evaluated the experience on those platforms against Windows?
I'm speaking mostly from a gamedev perspective, I don't write embedded C++. Same story with CMake, only used it on platforms where someone would/could play a game.
Does Windows offer a superior development platform when doing embedded work compared to BSD/Linux/OS X?
I prefer to work in a general text editor alongside simple command line build tools, which probably explains my dislike of most Windows dev tools.
cmake .. && cmake --build . --config RelWithDebInfo works for me.
Particularly when it comes to integrated debugging, what we have on other platforms pales in comparison imo.
It is all wonders when your view of cross-platform C++ programming means only using only gcc or clang across BSD, GNU/Linux or Mac OS X.
However things aren't so rosy when cross-platform C++ programming means the official OS C and C++ SDK, with their own view of what POSIX APIs they are supposed to offer specially the ones that leave the implementations some freedom about undefined behaviors.
If they offer POSIX APIs at all.