3 ms·
> Language migration: all-at-once or not-at-all. Like any language, C persists partly because replacing code is costly. But perversely, the implementation techn
by WalterBright 9y ago
> Language migration: all-at-once or not-at-all. Like any
language, C persists partly because replacing code is
costly. But perversely, the implementation technologies
favoured by more modern languages offer especially unfavourable effort/reward curves for migration. Migration
all at once is rarely economical; function-by-function
is probably the desired granularity.
D's new "Better C" support allows for function-by-function granularity in building chimera programs that contain any mix of D and C. It's much more than having merely access from D to functions written in C.
https://dlang.org/blog/2017/08/23/d-as-a-better-c/ https://dlang.org/blog/2017/08/23/d-as-a-better-c/