Re:How I Came to Write D (2014)
by WalterBright on Sunday June 03, 2018 @06:48PM
(#17222845)
The compiler flag would be -betterC. You can use classes with no GC if you're willing to allocate and initialize them manually.
I was not aware of this at all, do you ever see a time where you could compile D with classes an all with no garbage collection? I am not bothered by the GC coming from C# and Python but it is interesting to know where D is headed since I know there were many efforts at making D compile without any GC.
Basically do you think it will ever make sense for D to just compile without GC by passing a compiler flag? Irrelevant of what D features are used, and maybe it can tell you which features cannot be used without GC (sorry if this already is a feature, I use D I'm not a guru yet).