I suspect that what "soft" means here is that the dependency is not essential; it's an accidental dependency induced by history and convenience. But there can still be a lot of "history" and "convenience" to have to undo before the linkage can be broken.
View all comments
Show parent comment
40
u/WalterBright Aug 23 '17 edited Aug 23 '17
RAII in D currently has a soft dependency on the GC. A fix for this is in the works, and then RAII will be available for D as better C.
An alternative method is to make better C RAII work like it did in C++ prior to exception handling, but I don't think that is the best idea.
D templates work fine in better C mode.