From: Robert Feldt Date: 2001-02-05T18:13:03+09:00 Subject: [ruby-talk:10369] Re: RFC: RubyVM (long) On Mon, 5 Feb 2001, Yukihiro Matsumoto wrote: > Hi, > Hi, > |* No garbage collection. (the idea is that we should write Ruby's GC in > |this subset so we cannot presuppose GC in the subset. Besides we'd lose > |performance. However, a q for matz: Does the interpreter itself make use > |of GC heap mem for internal data structures?) > > Yes, a lot. Every scopes and several others are GC target objects. > Ok, then I guess we can write the GC/ObjectMemory first and then use that in the rest of the VM components. The GC would still not be part of the subset language though... This approach actually makes a lot of things easier. We can now have "real" versions of many of the basic classes (String, Array and Hash) with full GC. Matz, are there parts of the interpreter were you malloc/free stuff by hand (well, except for in the GC)? Any global method lookup or hash tables? Regards, Robert