分享 Ruby Hacking Guide

i5ting · 2013年08月12日 · 最后由 Tag 回复于 2016年07月01日 · 3655 次阅读

才看到,好东西呀好东西

http://rhg.rubyforge.org/

This is the home page of the project to translate into English the Ruby Hacking Guide. The RHG is a book that explains how the ruby interpreter (the official C implementation of the Ruby language) works internally.

To fully understand it, you need a good knowledge of C and Ruby. The original book includes a Ruby tutorial (chapter 1), but it has not been translated yet, and we think there are more important chapters to translate first. So if you have not done it yet, you should read a book like the Pickaxe first.

Please note that this book was based on the source code of ruby 1.7.3 so there are a few small differences to the current version of ruby. However, these differences may make the source code simpler to understand and the Ruby Hacking Guide is a good starting point before looking into the ruby source code. The version of the source code used can be downloaded here: http://i.loveruby.net/ja/rhg/ar/ruby-rhg.tar.gz.

Many thanks to RubyForge for hosting us and to Minero AOKI for letting us translate his work.

可惜章节有点少。。。。

没翻译完吧

http://i.loveruby.net/ja/rhg/book/

之前讨论过,不过这个版本有些老了,应该是 1.7 的内容,大部分人应该没有必要去看

有日语版的,可惜完全不懂日语!

这个确实是好东西,最近看了两遍,发现中文翻译,章节标题都有问题,Chapter 13: Structure of the evaluator Chapter 17: Dynamic evaluation 中文翻译分别应该是求值器的结构 和动态求值

需要 登录 后方可回复, 如果你还没有账号请 注册新账号