3 ms·
"... Sometimes you really do need to write systems software. In these instances, I'm still going to use C++ ..." So you write non-portable code? c is still t
by bootload 19y ago
"... Sometimes you really do need to write systems software. In these instances, I'm still going to use C++ ..."
So you write non-portable code?
c is still the language of choice for "portable" system work because c compilers can target lots of different systems. You cannot say this for c++. Not because of language deficiencies but limitations with the toolchain.
Wx faces the problem of using 10yo c++ features because of the lame nature of c++ compilers (Codingstyle Interview with wxWindows Developers, Steve Frampton, 2002) ~ http://codingstyle.com/index.php?name=News&file=article&sid=43&theme=Printer http://codingstyle.com/index.php?name=News&file=article&...
- kingkongrevenge 19y agoJust target g++, which covers all major platforms. C++ is portable. I can't believe all the pro C ranting. Do you people just enjoy typing? C++ is far more succinct. The same people agreeing with Linus here probably post elsewhere in favor of high level interpreted languages like Python over Java and C#.
- jey 19y agoThis is just an outdated understanding of C++, unless you really need to target a VAX or something. I don't intend my programs to run on machines more than 10 years old anyway. A decade ago, the non-portability of C++ was a real concern.