News for hackers. Stuff that matters.
Re:GC Fun at Twitch by pjmlp on Saturday November 16, 2019 @05:54AM (#21552012)
What we should do is learn that many GC enabled languages also offer other means to manage resources, and increase adoption of such features, instead of throwing the baby with baby water, just because a couple of them use GC for everything.
Re:GC Fun at Twitch by arcticbull on Monday November 18, 2019 @02:50PM (#21567516)
GC is a means not an ends and we shouldn't be attached to it. We should focus on developing languages that allow the compiler to statically assess and infer lifetimes then we don't need a giant for loop over all of active memory. The value GC provides is it gives the developer an escape-rope from an insufficiently expressive language. If that solution involves some form of GC so be it, but the goal should not be to preserve GC but rather to improve the efficiency of the final product without substantially impacting developer ergonomics.
Re:GC Fun at Twitch by pjmlp on Tuesday November 19, 2019 @04:38AM (#21571680)
So far that sufficiently expressive language, usable by mainstream developers is yet to be invented, and no Rust isn't yet it, too many hurdles to overcome in common programming patterns.