Is betterC affect to compile time?

Kagamin spam at here.lot
Fri Jul 26 09:28:46 UTC 2019


On Thursday, 25 July 2019 at 12:46:48 UTC, Oleg B wrote:
> What reason for such restrictions? It's fundamental idea or 
> temporary implementation?

I think it's a dmd limitation. Currently it has a bug that it can 
still generate code for ctfe templated functions, and they will 
fail to link if they use runtime. So yeah, currently betterC 
really means betterC all the way down. The alternative is to 
compile without -betterC switch and just use a minimal runtime if 
you use runtime features, then you have full language in ctfe.


More information about the Digitalmars-d-learn mailing list