4 ms·
A comparison to Swift's ARC would also be of interest :)
by steveklabnik 8y ago
A comparison to Swift's ARC would also be of interest :)
- Aardappel 8y agoYup, I will write up the algorithm some time soon. I've seen Swift's intentions to add lifetime analysis to ARC, but from what I could see it is much more complicated in Swift, requires annotations, and with significant runtime overhead remaining.
- steveklabnik 8y agoArc isn’t that stuff, Arc is what it already does today. “Automatic reference counting.”
- Aardappel 8y agoI'm aware of that, I said "add lifetime analysis to ARC", as in, ARC is what I call regular runtime reference counting, and with lifetime analysis some of it can move to compile time.
- steveklabnik 8y agoYep oops, sorry. Anyway, psyched to see more people experimenting with this kind of thing!
- Aardappel 8y agoYes, I frankly feel this design space is the future of memory management. GC, begone!
- alexisread 8y agohttp://concurrency.ch/Content/publications/Blaeser_Component_Operating_System_PLOS_2007.pdf http://concurrency.ch/Content/publications/Blaeser_Component... This seems to scale out very well - it's kind of static GC analysis with RAII and erlang-style messaging.
- Aardappel 8y agohttp://aardappel.github.io/lobster/memory_management.html http://aardappel.github.io/lobster/memory_management.html