I am a consultant and the author of 24 books on artificial intelligence and the semantic web. I use this blog to share ideas and code snippets using my favorite languages: Clojure, Java, Haskell, Common Lisp, and Ruby.
Friday, March 24, 2006
Great article on Java performance
This article on Java memory management by Brian Goetz explains why Java memory management is so efficient. The key is ephemeral or generational garbage collection - a technology that made Lisp a practical and efficient language 20 years ago. I especially liked Brian's discusion on how there is often a zero cost of deallocation of short lived objects. Cool stuff!