News for hackers. Stuff that matters.
Re:The Python Paradox Is Now the Scala Paradox (2009) by watmough on Saturday September 17, 2016 @01:19PM (#12521373)
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?

Re:The Python Paradox Is Now the Scala Paradox (2009) by BerislavLopac on Saturday September 17, 2016 @04:31PM (#12522306)
> 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?

Re:The Python Paradox Is Now the Scala Paradox (2009) by watmough on Saturday September 17, 2016 @05:06PM (#12522449)
Good 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.