Re:D Language accepted for inclusion in GCC
by WalterBright on Wednesday June 21, 2017 @05:54PM
(#14608285)
So far 2017 has been a banner year for D, with the fully open sourcing of it and now the gcc incorporation!
[ Parent
| on HN ]
Re:D Language accepted for inclusion in GCC
by kaleidic on Wednesday June 21, 2017 @05:56PM
(#14608301)
Plus betterC and gpu target.
Re:D Language accepted for inclusion in GCC
by WalterBright on Wednesday June 21, 2017 @07:22PM
(#14608874)
betterC isn't quite ready yet, but I expect it to be game-changing. The DCompute project (supporting GPUs with D) is a huge deal, too.
Re:D Language accepted for inclusion in GCC
by fithisux on Thursday June 22, 2017 @11:03AM
(#14612710)
If it is betterC and not betterC++ then it will be a game-changer.
Re:D Language accepted for inclusion in GCC
by nicwilson on Saturday June 24, 2017 @10:45PM
(#14628365)
The Dcompute kernel language (which for the most part is plain D, the compiler is completely reused) has the usual set of restrictions that any kernel languages have:
no exceptions, recursion, runtime (which is what betterC is about), function pointers.
It still has all the the features that make D great, sane templates (will work across both host and device to a degree), ranges, CTFE (no need to precompile you lookup tables) and so on.