Hacker News new | past | comments | ask | show | jobs | submit
Why not build in a very simple garbage collector - for example a ref counter - and default to it when you can't prove stack tricks are suficient at compile time? This guarantees all programs can be represented and it removes range anxiety for anyone trying a new language.

Seems any compiled language with automatic memory can make use of the techniques to obtain speed ups.

IIRC, this is feasible. But I think there's a nice simplicity in constraints. You know what you'd use Goose for, if it limits what you can express.