Re:Ruby's Date/DateTime classes rewritten in C.. 20-200x per...
by lamnk on Monday August 23, 2010 @08:56AM
(#1626626)
What's the point of self hosted interpreters like PyPY or Rubinius then ? Shouldn't Ruby core team write MRI all in C to make Ruby faster ?
[ Parent
| on HN ]
Re:Ruby's Date/DateTime classes rewritten in C.. 20-200x per...
by steveklabnik on Monday August 23, 2010 @10:33AM
(#1626854)
I can't speak for PyPy, but Rubinius isn't a project of ruby-core... and MRI is written in all C. And MRI isn't the latest version of Ruby, YARV is. (MRI -> 1.8, YARV -> 1.9)
Finally, Rubinius is architected totally differently than YARV. Rubinius uses a JIT, YARV is just an interpreter.
Re:Ruby's Date/DateTime classes rewritten in C.. 20-200x per...
by gaius on Monday August 23, 2010 @09:35AM
(#1626709)
Because you can prototype more easily, then implement what you're happy with in C.
It's funny, for some language communities (i.e. Java) being "self-hosted" is a big deal. I can't speak for Ruby but in the Python world, we simply don't consider it a major issue.