4 ms·
This article was interesting, showing a completely different world-view than the one I experience. Compiler from vc++6? That's ancient! Misses loads of fun C/C+
by viraptor 10y ago
This article was interesting, showing a completely different world-view than the one I experience. Compiler from vc++6? That's ancient! Misses loads of fun C/C++ features (and I'm not even talking about the massive shift in new C++ versions). Sure, you can be productive even in c89, but why... These days I don't trust code which doesn't pass modern compiler's all-warnings run, and tools like clang-analyzer.
Author also has an interesting view of QT Creator development / doesn't seem to be familiar with OS projects. "Or perhaps the guy who wrote it (denis mingulov I think?) will improve it, but I think he developed it in 2010." - meanwhile 6 different people committed new code to the QT Creator in the last 24h.
There's a few more fun things to spot if you read carefully. But what I'm saying is: it's worth remembering developers work in very different groups / environments.
- necessity 10y agoSide note: `-Wall` is not "all warnings". gcc(1): > -Wall > This enables all the warnings about constructions that some users consider questionable Personally, all my Makefiles use `-Wall -Wextra -Wpedantic -Wformat-security -Wshadow -Wconversion -Wfloat-equal -Wpadded -Winline -Wvector-operation-performance` by default, adding or removing some depending on the project. `-Wconversion` is specially useful.
- viraptor 10y agoThere's -Weverything in clang, but it's not available in gcc.
- alextooter 10y agoHe is talking about the IDE, not the compiler. The IDE itself is a big thing,compare with compiler. I think MS drop the MFC based VC6,then move to C# based VS2002 till now is a big mistake. The Office team still using their own tech stack, it is good.
- viraptor 10y agoHe's talking about both actually, even in the first section. The whole review has been triggered by trying to add SSE operations to code compiled with VC6.
- throwanem 10y ago> a completely different world-view than the one I experience No kidding! I'm still bewildered and vaguely horrified by the idea that in some worlds changing your text editor means you have to modify your projects to work with the new one.
- viraptor 10y agoWhile this is terrible, it can be easily explained at least. If your IDE doesn't own the build process, you have no idea which defines are valid and what's linked to what. You could monitor the build process to get that info out, but that means you need one full build before your autocompletion starts working.
- solipsism 10y agoThat's only because C++ makes this hard. It's not fundamentally true that you're editor needs to own the build process to be a useful tool.
- badsectoracula 10y agoHeh, here is where i write most of my 3D game engine's code (slightly older image, but still applies): http://i.imgur.com/8mp0vLL.png http://i.imgur.com/8mp0vLL.png The same image provides the reason too :-) (hint: look the compile time, it is for a full build). Although the code is very portable and compiles under any Windows compiler i've tried (including MSVC, MinGW/GCC, OpenWatcom, Digital Mars C/C++, Pelles C and of course Borland) as well as GCC and Clang under Linux and OS X (both compilers under both OSes). I often use VS2015 for debugging.
- Matthias247 10y agoI think the article also tells a lot about the C++ style the author uses. Probably mostly class and inheritance oriented, no big uses of templates. That kind of style somehow worked with VC6. VC6 never liked the template-oriented style (boost-style), and even when it compiles intellisense would mostly not work. In my experience this was first improved with VS2013, which together with VS2015 provides a quite good experience for those codebases which use a fast amount of C++ features. Personally don't think VS13/15 are noticeably slow, on a halfway modern development PC the experience is quite ok (lots better than using Atom for anything). I also had good experiences with QT Creator, although I used it mostly for QT related projects.