[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>
I'm wondering what I can do with a Proc generated by
17 messages
2003/04/06
[#929] Re: UnboundMethod#to_proc
— "Chris Pine" <nemo@...>
2003/04/06
----- Original Message -----
[#934] Re: UnboundMethod#to_proc
— Mathieu Bouchard <matju@...>
2003/04/06
[#940] Re: UnboundMethod#to_proc
— chr_news@...
2003/04/07
>
[#941] Re: UnboundMethod#to_proc
— Dave Thomas <dave@...>
2003/04/07
>> If they have diverging interfaces such that the contracts conflict
[#936] docs on implementation of ruby and/or ruby-gc ? — Ruben Vandeginste <Ruben.Vandeginste@...>
4 messages
2003/04/07
[#964] Range in logical context — Dave Thomas <dave@...>
If I run
7 messages
2003/04/16
[#965] Re: Range in logical context
— Mauricio Fern疣dez <batsman.geo@...>
2003/04/16
On Thu, Apr 17, 2003 at 06:10:40AM +0900, Dave Thomas wrote:
[#973] problem with rb_rescue2() ? — Mathieu Bouchard <matju@...>
5 messages
2003/04/19
docs on implementation of ruby and/or ruby-gc ?
From:
Ruben Vandeginste <Ruben.Vandeginste@...>
Date:
2003-04-07 08:37:49 UTC
List:
ruby-core #936
I already sent this to ruby-talk, but maybe ruby-core is a more appropriate place to post this... ---------- Forwarded message ---------- Date: Fri, 4 Apr 2003 14:35:33 +0200 (CEST) From: Ruben Vandeginste <ruben@eagle.cs.kuleuven.ac.be> To: ruby-talk@ruby-lang.org Subject: docs on implementation of ruby ? Hello, Are there any docs (online resources, books) available in english on the implementation of the ruby interpreter ? (i believe there must be a more efficient way to get a grip on the inner workings of the ruby interpreter, than just scanning the +/- 70000 lines of code ?) I'd like to do some experiments with garbage collection for ruby, and i'd like to know how the garbage collector is integrated in the ruby interpreter. (everything gc-related in gc.c ?) For example, how hard would it be to build a generational collector ? What code would need to be changed to include a software write barrier ? (is rb_eval in eval.c a good starting point ?) I also have some questions related to extensions, i've read that extensions should register the addresses of the ruby objects they use with the gc. Related to this, does that mean that *only* these objects can not be moved during gc ? Or is it that every object (in)directly referenced by a registered object should not be moved during gc ? Also, is it possible to not use any extensions, so that you could use a moving gc ? Or are some extensions always loaded ? (i read some things about a generational gc for ruby.. there would be one included in the 1.8 release, but it's not included in the preview ? are there still plans to include one or not ? is there an existing generational gc for ruby ?) Ruben Vandeginste