Neat-Lang / neat

The Neat Language compiler. Early beta?
BSD 3-Clause "New" or "Revised" License
111 stars 9 forks source link

Hybrid RC and GC #29

Closed nordlow closed 1 year ago

nordlow commented 1 year ago

Have you looked into V's memory model? If not it might be of interest to you.

Have you thought about having an optional manual GC pass that can collect RC cycles? IRC, that's what V does.

FeepingCreature commented 1 year ago

If you preload Boehm, that's exactly what you get! :)

Personally, I simply haven't run into any cycles yet. I suspect the threat of cycles is overrated.