Run-time generic D implementation

João Lourenço jlourenco5691 at gmail.com
Sun Apr 30 18:43:04 UTC 2023


On Saturday, 29 April 2023 at 00:21:33 UTC, Salih Dincer wrote:
> On Friday, 28 April 2023 at 20:04:55 UTC, João Lourenço wrote:
>> [...]

The difference is precisely that. Yes, using classes will achieve 
the same in practice, but you restrict the usage. I wanted 
something that did not depend on GC and could be used with 
betterC. Interestingly enough you can use interface with betterC 
as long as you don't instantiate any. Although this currently 
does not work with betterC due to std.format usage (and maybe 
other Phobos' methods).


More information about the Digitalmars-d mailing list