News for hackers. Stuff that matters.
Re:Memory Safety in a Modern System Programming Language Pt. 1 by mhh__ on Wednesday June 22, 2022 @05:20PM (#31842005)
The ironic thing is that the GC is one of the biggest productivity boosts available to a programmer.

C++ likes to prattle on about zero cost abstractions but the cost is nearly always to the programmer - and even then D does a lot of the zero cost concepts like templates objectively better than C++: Write a struct with N members in C++ (e.g. for autodiff), you're looking at a page full of recursive templates and SFINAE. With D it's orders of magnitude less code because it was specifically designed to avoid this kind of nonsense that C++ has conditioned people to think is worthwhile.

There are no comments on this comment yet.