Is there any writeln like functions without GC?

Seb seb at wilzba.ch
Sat Nov 2 22:55:05 UTC 2019


On Thursday, 31 October 2019 at 16:03:22 UTC, bachmeier wrote:
> On Thursday, 31 October 2019 at 15:11:42 UTC, Ferhat Kurtulmuş 
> wrote:
>
>> It would be nice if one reimplement writeln of Phobos by 
>> bypassing gc and use a custom nogc exception as described 
>> here*? Of course I can imagine that it would be a breaking 
>> change in the language and requires so much work for it to be 
>> compatible with other std modules/language features.
>>
>> *: 
>> https://www.auburnsounds.com/blog/2016-11-10_Running-D-without-its-runtime.html
>
> I can't imagine any possibility we'll ever see a breaking 
> change to writeln. It would have to be an addition to Phobos.

Yep or Phobos 2 which is more realistic at this point.


More information about the Digitalmars-d-learn mailing list