HNHacker News
TopNewBestAskShowJobs

shivanshuag

29 karma · joined February 4, 2014

submissionscomments
shivanshuag··on What garbage collection actually costs
A generational GC might help with some part of the problem but does not solve it entirely. Major collection still happen which will scan everything, just with a reduced frequency. Long libed caches might still have pointers being mutated frequently (like an LRU cache), which will put objects in younger generation. Golang does not have a generational GC. There are examples where long lived caches have been a problem in golang. One example - https://discord.com/blog/why-discord-is-switching-from-go-to...
shivanshuag··on What garbage collection actually costs
Agreed, for most real world softwares, the cost of GC is irrelevant. But there are still some programs like databases or game engines where the cost can start adding up. That's when you measure and optimize.
shivanshuag··on Our position on open-weights models
It seems impossible to read this post without getting political. Dario seems to be saying that AI in the hands of USA is good but in the hands in China is bad, which is a very US centric view.

There is a whole world outside the two countries which see neither as a good actor. As a reminder, USA was the first country which dropped an atomic bomb on civilians.