TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why isn't Ruby written in Ruby?

1 点作者 hypr_geek大约 11 年前
I started learning Ruby two days ago. I checked out the source code and it seemed to be all in C. I couldn't find why it hasn't been converted to Ruby (performance reasons?), so asking here.

2 条评论

OriPekelman大约 11 年前
There are many Ruby implementations, a very popular one is Rubinius which is implemented in Ruby <a href="http://rubini.us/" rel="nofollow">http:&#x2F;&#x2F;rubini.us&#x2F;</a><p>The MRI or Matz&#x27;s Ruby Interpreter (also called CRuby) is the reference implementation (Though RubySpec started by the Rubinius project has become the standard). Other implementations are very popular, such as JRuby that allows for running Ruby in the JVM.
zachlatta大约 11 年前
A large portion of Ruby, primarily standard libraries, is written in Ruby. The entire language isn&#x27;t in Ruby for performance reasons.