[#144] Another implementation of Bignum — "Dmitry Antipov" <dmitry.antipov@...>
Hello Ruby hackers,
15 messages
2002/06/06
[#151] Re: Another implementation of Bignum [tarball attached]
— "Dmitry Antipov" <dmitry.antipov@...>
2002/06/07
Hello again,
[#152] Re: Another implementation of Bignum [tarball attached]
— matz@... (Yukihiro Matsumoto)
2002/06/07
Hi,
[#174] Improving Ruby's garbage collector for interactive apps — Matthew Bloch <mattbee@...>
re: this problem I had a few weeks back:
8 messages
2002/06/19
[#177] Re: Improving Ruby's garbage collector for interactive apps
— matz@... (Yukihiro Matsumoto)
2002/06/20
Hi,
[#178] Re: Improving Ruby's garbage collector for interactive apps
— Matthew Bloch <mattbee@...>
2002/06/21
On Thursday 20 June 2002 18:54, you wrote:
[#186] Steps to get multiple interpreters per process... — Sean Chittenden <sean@...>
Can someone chart out what would need to happen to get multiple ruby
10 messages
2002/06/24
[#187] Re: Steps to get multiple interpreters per process...
— matz@... (Yukihiro Matsumoto)
2002/06/25
Hi,
[#188] Re: Steps to get multiple interpreters per process...
— Sean Chittenden <sean@...>
2002/06/25
> |Can someone chart out what would need to happen to get multiple
[#191] Re: Steps to get multiple interpreters per process...
— Chris Ross <chris@...>
2002/06/25
Re: rb_hash_has_key() and friends non-static...
From:
Sean Chittenden <sean@...>
Date:
2002-06-04 19:03:51 UTC
List:
ruby-core #128
> > > > As for splitting out the declarations into its own header, that was > > > > just something I did as it would provide a very convenient way of > > > > grouping and documenting the C API inline with the headers. Can > > > > someone please comment on either? -sc > > > > > > The name "ruby_hash.h" doesn't seem so good, for me. > > > > How about just "hash.h" ? It does seem like overkill to have "ruby_" > > in there. -sc > > How about other data structures, all headers like "array.h", > "string.h" and so on? What's the reason they should be > splitted from "intern.h"? Documentation primarily and ease of use of the API. intern.h would include rb_*.h so Ruby's core wouldn't have to change, but as a module author or someone reading my code, if I include ruby.h and rb_hash.h, then it's pretty obvious that I'm using ruby and its hash data structure. For people reviewing the code, if they want to see anything and everything that's publicly available for the Hash data type, they'd just have to look at rb_hash.h. > > > The name "ruby_hash.h" doesn't seem so good, for me. > > > > How about just "hash.h" ? It does seem like overkill to have > > "ruby_" in there. -sc > > How about file system name conflicts? -> with ruby_ you atleast can > guarantee that when the header is found by the compiler it's the > correct one. The other approach is to have them all in a ruby/ > directory in the include directory. Good point. Either works for me. I used ruby_ because it is consitent with the yacc rountines and that has more external/global consiquences, however rb_ is consistent with Ruby's internals. ::shrug:: Matz should probably chime in. :~) IMHO, rb_ would be consistent with the way that Apache handles this. -sc -- Sean Chittenden