memory defragmentation
Posted Jun 26, 2003 17:19 UTC (Thu) by
elanthis (guest, #6227)
In reply to:
memory defragmentation by cpeterso
Parent article:
Looking forward to 2.7
Kernel supported garbage collection would be most excellent. A few modifications to ELF to support GC hints/etc. in the executable format, and GC could become very commonplace. (Like it should have years ago.)
Imagine natively compiled Java or C# apps that make use of kernel-accelerated GC... or C/C++ extensions that offer the same. Heck, languages like Python/Ruby/etc. could drop their own home-brewed GCs and use the kernel one (when running in Linux) to increase their own performance as well.
Just remember, tho, compiler support is _required_ for a good GC implementation to work as efficiently as possible. Things like the Boehm-Weiss collector, while certainly cool "hacks", don't perform nearly as well as they could, since they do so much work ( a good deal of which is guess work ) to try to figure things out that the compiler could've provided for it.
(
Log in to post comments)