LWN.net Logo

garbage-collecting VMs

garbage-collecting VMs

Posted Feb 28, 2007 2:29 UTC (Wed) by flewellyn (subscriber, #5047)
In reply to: garbage-collecting VMs by drag
Parent article: Ruby Performance (Linux Journal)

Well, that's kind of a separate issue from memory management, though.

You can use a GC with a compiled language: Lisps have had it for years, and have been compiled
since the 70s. Heck, you can use the Boehm-Weiser GC with C or C++. So memory
management is orthogonal to compilation vs interpretation.

Thanks for the tip, though. I do write a fair amount of Python code.


(Log in to post comments)

garbage-collecting VMs

Posted Feb 28, 2007 4:27 UTC (Wed) by drag (subscriber, #31333) [Link]

I wasn't realy thinking about compiled vs interpreted.

But I figured it you wrote in something like pyrex you could use C-like code to do memory management manually and then use python-like when you don't feel like it.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds