Built-in RAII in D

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Mon May 29 05:09:14 PDT 2017


On Monday, 29 May 2017 at 11:58:56 UTC, evilrat wrote:
> Can't sell to those who don't buy.
> I can't say for all, but I have noticed that those who 
> generally use C++ will tell that speed matters "everywhere" (oh 
> right, they do use C++ "for a reason")

Well, I am in that C++ group... So yes, you cannot sell a GC 
language to them on it's own terms for _new_ projects.

But if you can show that an existing legacy C++ framework 
benefits in terms of maintenance and further development then it 
could be a selling point to managers for such projects.

Not all C++ code bases need max performance throughout, many are 
running on much better machines today than they were originally 
limited to. So if you can show a better maintenance scenario, 
with a gradual move to D, then it could be a way in.

IIRC Inkscape is using a Boehm collector. Integrating Inkscape 
with D could be one such "legacy" project that would be worth 
noticing.


More information about the Digitalmars-d mailing list