Comment

Comment by Shadonototra

BetterC is not no GC mode, BetterC was made to make sharing D code easier with C

GC only exist if you call ``new MyThing``

Just use your allocators with malloc/free, that is what i do (you do the same in zig, allocators)

if you want to enforce no GC use in your APIs, there is the @nogc attribute you can use

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton