Re:I spent a year of my life making an ASN.1 compiler in D
by WalterBright on Thursday October 23, 2025 @10:57PM
(#45690269)
Once one realizes that the GC is just another way to allocate memory in D, it becomes quite wonderful to have a diverse collection of memory management facilities at hand. They coexist quite smoothly. Why should programs be all GC or no GC? Why should you have to change languages to switch between them?
[ Parent
| on HN ]
Re:I spent a year of my life making an ASN.1 compiler in D
by alphaglosined on Friday October 24, 2025 @03:23AM
(#45691842)
Indeed the GC is just a library with some helpful language hooks to make the experience nice.
If you understand how it's hooked into, it's very easy to work with. There is only one area of the language related to closure context creation that can be unexpected.