显微镜下的 Ruby

Ruby under a microscope

Pat Shaughnessy · 初版 2014 年

32人推荐
41位读者提及
47次提及

为什么值得读

  • 以非计算机专业读者也能读懂的平实语言写成
  • 全面概述MRI内部机制,讲解方式温和好懂
  • 穿插代码示例并标注MRI源码位置以供查阅

“深入探究 Ruby 编程语言如何运行代码的底层机制。配有大量图解、完整解释及动手实践。涵盖 Ruby 2.x”——“Ruby 是一种注重简洁性的强大编程语言,但在其优雅的语法之下,该语言正在执行无数不为人知的任务。Ruby Under a Microscope 通过直观的图表与清晰的阐述,为开发者提供了深入探索 Ruby 核心的实践视角。作者 Pat Shaughnessy 采用严谨科学的方法,通过一系列 Ruby 代码实验展示其底层运作机制。Shaughne

Hacker News 上怎么说

  • ……System" [1] 是一个极佳的切入点,由数据库老兵 James Hamilton 和 Michael Stonebraker 撰写,并引用了其他更深入的研究著作。我一直很喜欢 Pat Shaughnessy 的作品,《Ruby under a Microscope》是对 MRI 2.0 的绝佳入门介绍。我真希望能看到更多这样的作品。[1] http://db.cs.berkeley.edu/papers/fntdb07-architecture.pdf

    …System" [1] to be an excellent starting point, it's written by database veterans James Hamilton and Micheal Stonebraker and references other much deeper works. I've always liked Pat Shaughnessy's work, Ruby under a Microscope was a fantastic introduction to MRI 2.0. I really hope to see more works like these. [1] http://db.cs.berkeley.edu/papers/fntdb07-architecture.pdf

  • 今年我当消遣读的几本书:- 《Armada》: Ernest Cline - 极其令人失望且情节老套 - 《Library of Souls》: Ransom Riggs - 读起来轻松但引人入胜 - 《Ruby Under a Microscope》: Pat Shaughnessy - 我觉得他讲东西的风格非常通俗易懂 - 《Being Mortal: Medicine and What Matters in the End》: Atul Gawande - 这是一个让人心情沉重的主题,但帮助我理解了……

    A few books I read for fun this year: - Armada: Ernest Cline - Very disappointing and predictable - Library of Souls: Ransom Riggs - Easy but engrossing book - Ruby Under a Microscope: Pat Shaughnessy - I find his style of explaining things very accessible - Being Mortal: Medicine and What Matters in the End: Atul Gawande - It's a hard subject to think about but helped me to understand…

  • > 我的目标是更好地理解计算机是如何工作的,Ruby 是如何工作的……去看看 Pat Shaughnessy 的《Ruby Under a Microscope》[0] 吧。它对 MRI 的底层内部机制做出了很好的概述。虽然没涉及太多的 C 代码,但引用了不少,并且指出了这些代码在 MRI 源码中的具体位置。拿起这本书,打开源码……

    > My objective is to better understand how computers work, how ruby works... Check out Pat Shaughnessy's Ruby Under a Microscope [0]. It gives a nice overview of the internals of MRI. It doesn't cover a who lot of the C code, but references plenty of it and where it can be found in the source code of MRI. Grab the book, the source…

  • 还有这本绝妙的书 [1] 也为 Ruby 涵盖了类似的领域。书评里的一段摘录能让人大致感受一下:“《Ruby Under a Microscope》做了一件相当有野心的事。它试图用非计算机专业人士也能轻松理解的语言,来写一本讲解系统内部底层机制的书。虽然里面有大量的代码片段和示例来……”

    There's also this wonderful book [1] covering similar ground for Ruby. An extract from a review gives a flavour: "Ruby Under a Microscope" does something fairly ambitious. It attempts to write a system internals book in a language that non computer scientists can readily understand. While there are numerous code snippets and examples to…

  • 我建议阅读/亲手实现以下书籍:1. Thorsten Ball 的《Write an Interpreter in Go》 2. Thorsten Ball 的《Write a Compiler in Go》 3. Bob Nystrom 的《Crafting Interpreters》 4. Pat Shaughnessy 的《Ruby under a Microscope》

    I would recommend reading/implementing the below: 1. 'Write a Interpreter in Go' by Thorsten Ball 2. 'Write a Compiler in Go' by Thorsten Ball 3. 'Crafting Interpreters' by Bob Nystrom 4. 'Ruby under a Microscope' by Pat Shaughnessy

  • ……的成就。如果你有机会参加 RubyConf,一定要去听他的演讲。我也很喜欢他在分代 GC(generational GC)速度优化方面所做的工作。作为入门,Pat Shaughnessy 有个很棒的 talk 值得一看,此外《Ruby Under a Microscope》也是深入探索 Ruby 的好书。

    …accomplishment. If you're ever at a Rubyconf, go to his talks. Also love the speed work he's been doing with generational GC. For a primer, Pat Shaughnessy has a great talk you should check out, also Ruby Under a Microscope is a good dive into Ruby.

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助