Comment

Comment by flavio81

>The end state of every garbage collected language is a suite of tools to prevent garbage collection at all costs. >I think we can learn something here.

You're making two mistakes here:

1. Confusing "no allocation" with "avoiding the garbage collector". In non-GC languages like Rust or C there are instances you want to avoid allocation too.

2. Being oblivious that in the past many GC'd languages also had mechanisms for circunventing the garbage collector. Since long, long, long ago. Common Lisp for example (1981-). This is not a modern "realization" or "revelation".

parent flavio81 1 day ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton