3 ms·
What's the feeling on raw C++ these days? Is it still truly mainstream, or have C++ users, at least on Microsoft, mostly migrated to managed C# code? Certainl
by watmough 10y ago
What's the feeling on raw C++ these days?
Is it still truly mainstream, or have C++ users, at least on Microsoft, mostly migrated to managed C# code?
Certainly at the company I work at, there's been an active migration over maybe the last 5 - 6 years to C# from C++, though we still have millions of lines of C++ / MFC / WinForms code in the primary application I support and help maintain.
Career-wise, I'm quite happy to stay with C++, as it's been my experience that I can throw together utilities that run with minimal, run fast and are reliable, just using C++ and the standard libraries.
As far as writing Scala or Python, Why write code that goes slower than it needs to?
- BerislavLopac 10y ago> As far as writing Scala or Python, Why write code that goes slower than it needs to? Let me put it this way: why write software that goes faster than it needs to but is written slower than it needs to be?
- watmough 10y agoGood point, but the sort of utilities, data munging code I typically write, can be hammered out in C, or C++ pretty fast. I've been easing into the C++ standard library, lambdas etc., and familiarity makes it easy to write code that uses standard proven, fast, data structures, and mostly allows me to avoid any non-stack data allocation. Avoiding heap memory allocation, and taking advantage of the appropriate idioms, allows much faster development, even in C++. The huge bonus when done correctly, is very high-performance, clear and portable code.