How does Ruby VM works?

E

Emilio Tagua

I want to read about RVM, how does ruby handle threads, the interface
with the OS, and some other stuff, any low level book/paper
recommended?

Thanks
 
M

Marcin Raczkowski

I want to read about RVM, how does ruby handle threads, the interface
with the OS, and some other stuff, any low level book/paper
recommended?

Thanks

First of all there's few Ruby VM's google for YARV and rubinius
ruby threads are "green" and are handled simmilar to java threads.

there's no low level book, read ruby-devel mailing list :)
 
P

Phillip Gawlowski

Emilio said:
I want to read about RVM, how does ruby handle threads, the interface
with the OS, and some other stuff, any low level book/paper
recommended?

That'll be tough ;)

Ruby is interpreted on run-time, not compiled like Java or Python can be.

There are Ruby VMs in development, IIRC, but I don't know the names off
the top of my head.

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/

Rule of Open-Source Programming #37:

Duplicate effort is inevitable. Live with it.
 
E

evanwebb

I want to read about RVM, how does ruby handle threads, the interface
with the OS, and some other stuff, any low level book/paper
recommended?

Thanks

You could search for the hacking guide, there is an english
translation in the works.

Do you have any specific questions? I can probably answer them for ya.

- Evan
 
M

M. Edward (Ed) Borasky

Marcin said:
First of all there's few Ruby VM's google for YARV and rubinius
ruby threads are "green" and are handled simmilar to java threads.

there's no low level book, read ruby-devel mailing list :)
Actually, there are starting to be bits and pieces of low-level Ruby
internals docs showing up on the web. Google for "Ruby Hacking Guide"
(Japanese with partial English translations) and "Ruby Internals Guide".
 
A

Akimichi Tatsukawa

You could search for the hacking guide, there is an english
translation in the works.

Is this project still alive?
The last update was dated on 2006-04-05,
and I cannot access the subverion repository as an anonymous user.


Aki,
 
E

Emilio Tagua

You could search for the hacking guide, there is an english
translation in the works.

Do you have any specific questions? I can probably answer them for ya.

Thanks you!
I don't have a very specific question i want to get involved in how
ruby works deep inside.

I started programming RoR apps but now im getting to pure Ruby
apps/script/daemons. Atm i'm coding a multithread daemon that use
log/process info/syscal/open-uri/etc...

And i'm very interesting about hacking Ruby

Thanks all for your reply
 
J

Jörg W Mittag

Phillip said:
There are Ruby VMs in development, IIRC, but I don't know the names off
the top of my head.

Production-ready and in active development:

Matz' Ruby Interpreter (MRI) / CRuby: <http://Ruby-Lang.Org/>
JRuby: <http://JRuby.Org/>
Ruby.NET: <http://WWW.PLAS.FIT.QUT.Edu.Au/rubynet/>

In active development, but not necessarily production-ready:

Yet Another Ruby VM (YARV): <http://WWW.AtDot.Net/yarv/>
XRuby: <http://XRuby.Com/default.aspx>
Cardinal: <http://Cardinal2.RubyForge.Org/>
Rubinius: <http://Rubini.us/>

Status unknown:

IronRuby: <http://WWW.WilcoB.Com/Wilco/IronRuby.aspx>
Smalltalk.rb: <http://Groups.Google.De/group/smalltalk-ruby>
MetaRuby: <http://ZenSpider.Com/Languages/Ruby/MetaRuby.html>,
<http://RubyForge.Org/projects/metaruby/>

Apparently dead:

Alumina <http://RubyForge.Org/projects/alumina/>
Carbone <http://WWW.NonGNU.Org/carbone/>
IoRuby / YARI: <http://Google.Com/search?q=IoRuby>
RubyVM <https://SourceForge.Net/projects/rubyvm>
RubySharp <http://WWW.XHovemont.Be/archive/2005/11/07/1064.aspx>
Rubydium <http://Web.Mac.Com/lypanov/iWeb/Web/Rubydium.html>,
<http://RubyForge.Org/projects/rubydium/>
..NETRuby
<http://WWW.GeoCities.Co.Jp/SiliconValley-PaloAlto/9251/ruby/nrb.html>

Vaporware:

Rite: <http://RubyGarden.Org/ruby?Rite>

Did I forget one?

jwm
 
C

Charles Oliver Nutter

Far be it for me to disagree, but I have a few differing opinions...
Production-ready and in active development:

Matz' Ruby Interpreter (MRI) / CRuby: <http://Ruby-Lang.Org/>

I personally wouldn't consider MRI (i.e. 1.8 series) as being under
"active development". It's basically feature-frozen (for some definition
of "feature freeze" and development efforts are focusing almost
exclusively on the 1.9/2.0 line.

Production ready for some things, at least :)

I think even the Ruby.NET guys would say it's a bit of a stretch to call
it production-ready.
In active development, but not necessarily production-ready:

Yet Another Ruby VM (YARV): <http://WWW.AtDot.Net/yarv/>

YARV is probably more production ready than anything but MRI (and maybe
JRuby), but there's of course a lot more work planned before official
release as Ruby 1.9.1 and 2.0

No disagreement. Somewhat less "active" than JRuby, Ruby.NET, or
Rubinius, but making excellent progress all the same.

As far as I know Cardinal is not under active development right now.
Maybe when Kevin Tew finishes up the Parrot dev tasks he's working on now?

Other than JRuby, there's probably more folks actively working on or
contributing to Rubinius than any other impl on this list. "Very" active
development?

Dead, as far as I've heard. Wilco doesn't have time to work on it anymore.

Died in the crib...I'm not sure any work was ever really done.

Could see new life through Rubinius and JRuby reusing what's been done,
but I don't think there's been any progress in a looong time. I'm
seriously looking at using some of MetaRuby in JRuby very soon though.

There's also a potential implementation coming directly out of
Microsoft, though we won't know for sure until they make an announcement
of some kind.

- Charlie
 
R

Rick DeNatale

Far be it for me to disagree, but I have a few differing opinions...

YARV is probably more production ready than anything but MRI (and maybe
JRuby), but there's of course a lot more work planned before official
release as Ruby 1.9.1 and 2.0

And YARV has been part of the official 1.9 branch of ruby for some months now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,240
Messages
2,571,211
Members
47,845
Latest member
vojosay

Latest Threads

Top