News for hackers. Stuff that matters.
Re:D’s Newfangled Name Mangling by stochastic_monk on Wednesday December 20, 2017 @04:36PM (#15974048)
I feel like D would fight with Go in the realm of things I'd use it for, in which case I'd pick it.

On the other hand, D supports a lot of great C++-style stuff, but I'd never pick it in that regime because it'd be the same amount of effort without as-fast-as-possible.

Re:D’s Newfangled Name Mangling by klickverbot on Wednesday December 20, 2017 @06:52PM (#15975031)
> it'd be the same amount of effort without as-fast-as-possible.

While the first part is perhaps somewhat subjective, the second is just wrong. D allows you to get to the same bare-metal, no-holds-barred level of performance that C++ does – I wonder where that misconception would come from.

Note that this is not just an academic possibility, but there are real-world use(r)s of D in exactly that domain, for example the folks at Weka.IO for their distributed file system. Of course, their sub-millisecond latencies don't leave much room for careless use of the garbage collector. But being careful about memory allocations for that sort of application is just as sensible a thing to do in D as it is in C++.

Re:D’s Newfangled Name Mangling by nicwilson on Wednesday December 20, 2017 @06:12PM (#15974750)
I find that D is far less effort to write equivalent functionality then C++ with reasonable perf. See the links in https://forum.dlang.org/thread/[email protected]

It is also possible for D to be as fast as C++ in many domains: we have LDC based on LLVM for optimisation (parity with clang), but I think that one of the biggest things is the flexibility to have (and determine what is) an efficient architecture.