News for hackers. Stuff that matters.
Re:D is being used for autonomous driving research – Audi an... by earenndil on Monday June 24, 2019 @07:19PM (#20269544)
> I would hazard that Rust does the best job, due to its explicitness / very nature

I might say the same about c, except even more so.

As for 'the performant path', something to watch for there is jai, probably coming out later this year. It has clever things there, like dynamically switching between SOA and AOS, or doing small dynamic allocations on the stack.

Re:D is being used for autonomous driving research – Audi an... by nicoburns on Monday June 24, 2019 @10:21PM (#20270626)
C does, until you start making things multithreaded, at which point you either start defensively copying things, or dev times slows massively due to having to maintain complex locking invariants in your head.
Re:D is being used for autonomous driving research – Audi an... by totalperspectiv on Monday June 24, 2019 @07:31PM (#20269613)
I haven't looked at Jai. I'll have to check it out. I have looked at Zig, which seems to inhabit a similar space. They both seem a little too early days for me at the moment (I at least want a chance at using it $work), but I like the general idea of better C.
Re:D is being used for autonomous driving research – Audi an... by vips7L on Monday June 24, 2019 @08:34PM (#20270056)
D has a betterC flag [0]. Though at that point I'm not sure why you wouldn't just write c++17.

[0] https://dlang.org/blog/2017/08/23/d-as-a-better-c/

Re:D is being used for autonomous driving research – Audi an... by WalterBright on Monday June 24, 2019 @10:56PM (#20270793)
D's betterC includes the metaprogramming facilities.
Re:D is being used for autonomous driving research – Audi an... by vips7L on Monday June 24, 2019 @11:12PM (#20270863)
And at the very least it has dub right? I've thought about it alot.
Re:D is being used for autonomous driving research – Audi an... by skocznymroczny on Tuesday June 25, 2019 @03:00AM (#20271761)
I'd love to use betterC more if it had dynamic arrays and assoc arrays. BetterC opens up opportunities such as WebAssembly too.
Re:D is being used for autonomous driving research – Audi an... by earenndil on Tuesday June 25, 2019 @02:27PM (#20277278)
Webassembly is slowly (but carefully) deciding on a garbage collection spec of its own; once that's available, you should see a whole new slew of languages targeting it, including full-fledged d.