Modern C++ Won't Save Us
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Fri Apr 30 12:35:42 UTC 2021
On Friday, 30 April 2021 at 12:21:05 UTC, throway wrote:
> the biggest invention in static-typing is templates, you can
> forgive c++ for the ugly syntax and the shorcomings since they
> had no idea at the time, what excuse do the new languages have?
> rust looks almost as ugly as c++ and afaik only d got templates
> right.
Hm. I think D templates are rather close to C++. What aspects of
D templating do you think makes a difference?
> i have nothing against optional gc but knowing the
> code-generation powers of d plus RAII, you would think gc would
> be a secondary concern, because you finally have the tools to
> eliminate most of the memory issues that plagues c/c++.
I don't really have memory issues in C++, if I do it tends to be
related to issues that can only be easily solved by a GC... (E.g.
ownership not being obvious and avoiding circular reference being
difficult)
More information about the Digitalmars-d
mailing list