Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like the fact that it's a GC language. You can also disable the GC using the @nogc pragma. Efforts have been recently made to make a bigger part of the standard library @nogc compliant.


If I wanted to write a program with @nogc, how much of a QoL hit would I take? Is most of the standard library usable without garbage collection, or is it more hit-or-miss?


I know std.container can function w/o the GC. The rest is probably a hit or miss:

https://forum.dlang.org/post/p6cq7f$2cg$1@digitalmars.com




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: