News for hackers. Stuff that matters.
Re:Nimrod: A New Approach to Metaprogramming [video] by FG_Regulus on Thursday January 16, 2014 @06:59PM (#7073349)
And adding onto the other reply - Nimrod's GC has a realtime mode where you can specify when to run, and the maximum time. I made a (small) game in Nimrod and called the GC every frame for the remaining time (it can be used like a blocking high-accuracy timer). Testing the GC I couldn't get it to take longer than a couple microseconds - intentionally smashing my 16GB heap to hell. Why does a 16GB heap take so little time to GC? Because Nimrod's GC doesn't scale - it's deferred reference counting. Only cycle detections scan the whole heap, and you can disable those optionally (I do, I don't like designing cyclic stuff without explicitly knowing it gets broken).
Re:Nimrod: A New Approach to Metaprogramming [video] by ehsanu1 on Thursday January 16, 2014 @07:19PM (#7073435)
That's really cool! And yeah, doesn't scale as you said, so I still don't see how we can go GC-less for everything.