On Friday, 13 December 2013 at 16:28:33 UTC, Manu wrote:
I could still REALLY do with __forceinline though. D doesn't
have an
effective macro.
Obviously, if by 'language X' you mean 'any non-compiled
language with
pointers', then I totally agree! People who make claims like
you say, don't
generally know what they're talking about, or what C is
actually used for.
I believe (and have posted it over 100 times in NG already :P) D
absolutely needs either way to force internal linkage or good LTO
symbol elimination. Without preprocessor there is not much you
can do to eliminate code duplication other than templates / CTFE
- and it bloats resulting executables damn lot, something that
was very controllable in C.