M. Edward (Ed) Borasky
11/10/2007 3:36:00 AM
Roger Pack wrote:
> I am thinking of doing a 'side by side' distro of Ruby that includes the
> latest SVN up's, as well as some 'fringe' best practices, like a tweaked
> GC.
> It would have the ability to do force_recycle on objects arbitrarily (at
> your own risk), and getters and setters for the GC variables (like how
> often to recycle, how close you are to the next collection, how big of
> heap blocks to use, etc.)
> and also have a GC that is write-on-copy friendly (takes barely longer,
> but doesn't dirty memory).
>
> And any other personal tweaks that people contribute. Kind of a
> bleeding edge Ruby.
>
> Would that be useful to anyone? Would anyone use it?
> Thanks and take care.
> -Roger
What would be more useful to me, and in fact where I'm headed, is a Ruby
that's tunable to your *hardware*. Just make a *source* distribution and
force people to recompile it. Right now, my tweaks are all at the GCC
level, and that's the way it's going to be for a while. I don't believe
I've exhausted all of the goodies that GCC has to offer, especially GCC 4.2.
Another thing that would be more useful is a comprehensive enough test
and benchmark suite that a user could tell what the payoffs were from
the tweaks and whether the language syntax and semantics remained intact
after the tweaks.
I'm in the process of re-factoring the Rakefile from my profiling
efforts. I'd be happy to profile your source as part of that. By the
way, are you starting with 1.9 or 1.8? I'm still profiling 1.8 only, but
I expect to have 1.9 profiling working within a week or so.