recentpopularlog in

mcherm : garbagecollection   13

The Power of Lifetimes
Rust does cool things with reference borrowing. This can be seen as making use of information about the lifetime of objects. There are even more clever things one can do with object lifetimes - the article describes them and talks about some languages using them.
programming  garbagecollection  api  via:HackerNews 
april 2019 by mcherm
Modern garbage collection – Medium
A really, VERY well-written overview of modern garbage collection, explaining why Java's GC is actually a lot more advanced than the one in Go, despite the advertising that Go has put out. Go's GC doesn't even use generations.
garbagecollection  programming  via:HackerNews 
december 2016 by mcherm
Why does calloc exist? — njs blog
Explaining the difference between calloc and malloc+zero-it-out: may pull big blocks from the OS which might cheat with virtual memory.
programming  garbagecollection  via:HackerNews 
december 2016 by mcherm
Why mobile web apps are slow | Sealed Abstract
JavaScript performance on mobile is terrible. A big reason is garbage collection, which performs badly unless you have a factor of 5 of extra memory available.
performance  javascript  mobile  garbagecollection  via:HackerNews 
december 2014 by mcherm
PyPy Status Blog: Incremental Garbage Collector in PyPy
The garbage collector in PyPy was improved. Here's an explanation of how they made mark-and-sweep more incremental.
programming  garbagecollection  pypy 
october 2013 by mcherm
In managed code we trust, our recent battles with the .NET Garbage Collector
A real interesting analysis by the StackOverflow guys how they tamed severe garbage collection delays caused by large structures making it into generation 2.
programming  garbageCollection  profiling  c#  via:twitter  StackOverflow 
october 2011 by mcherm
break up reference cycle introduced in 9cbff8a39a2a
A review of why reference counting may be a better approach to garbage collection.
programming  garbagecollection  via:python-list 
may 2011 by mcherm
The Transactional Memory / Garbage Collection Analogy: Dan Grossman
In this academic paper, the author presents and defends an extensive analogy between garbage collection as a solution for memory allocation and Software Transactional Memory as a solution for concurrent programming.
programming  stm  concurrency  concurrentprogramming  garbagecollection  parallelprogramming  research  computerscience 
october 2009 by mcherm
Java theory and practice: Urban performance legends, revisited
Why Java's memory allocation is typically even faster than C's, for typical usage patterns. Also how escape analysis can allow the JVM to store some stuff on the stack instead of the heap.
java  programming  jvm  optimization  memory  performance  C++  garbagecollection  via:HackerNews 
october 2009 by mcherm
Stretching the Storage Manager: Weak Pointers. and Stable Names in Haskell
Research paper by Simon Peyton Jones et al. where they show how to build memoization in Haskell. To do so they invent a better version of weak pointers which are particularly interesting. I also found a version available online via Google Book Search.
articles/programming  garbagecollection  programming  haskell 
january 2008 by mcherm
Ethan Nicholas's Blog: Understanding Weak References
A brief but USEFUL introduction to Java's 4 kinds of references. It's a lot more helpful than Sun's own docs because it explains what you might actually DO with each kind of reference.
programming  java  jvm  memory  garbagecollection 
october 2007 by mcherm

Copy this bookmark:

to read