Programming languages without garbage collection send us down a long path of design decisions that lead to slow compile times and fragile runtime performance cliffs.
-
Show this thread
-
Replying to @TimSweeneyEpic
give me a garbage collector that doesn't interfere with realtime performance and i will add it to my language today.
3 replies 0 retweets 17 likes -
Replying to @paniq @TimSweeneyEpic
People need to learn to pick up their own garbage
1 reply 0 retweets 0 likes -
Replying to @freshofftheufo @TimSweeneyEpic
don't misunderstand me i would love to just not care about cleanup. it would make many things much easier.
1 reply 0 retweets 0 likes -
so, i'm dead serious: give me a GC that goes well with realtime applications and i'll be the happiest person on earth
2 replies 0 retweets 0 likes -
You can easily write a piece of code that needs additional CPU to get rid of the garbage it produces :) But if you also want shared memory multithreading together with unconstrained GC and realtime latency - you are fucked.
1 reply 0 retweets 0 likes -
i wouldn't have asked if i didn't already know that tim was working on something.
1 reply 0 retweets 0 likes -
Lots of clever ppl spent 2 decades trying with JVM/.NET..
1 reply 0 retweets 0 likes -
these solutions suffer from the problem that they want too much at once.
1 reply 0 retweets 2 likes
If garbage collection could be achieved with no pauses with a runtime cost that’s a constant fraction of overall CPU time, how much would you be willing to pay for it? 5%? 25%?
-
-
could there be a dedicated CPU core for it? if not, then i suppose smaller is always better; could also be adaptive rate: use 5% or higher, as much as is left over for the current frame.
1 reply 0 retweets 0 likes -
Replying to @paniq @TimSweeneyEpic and
but constant runtime cost is good thinking. that makes it much easier to reason about it, and we don't get sudden stalls.
1 reply 0 retweets 0 likes - 15 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.