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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Resources for Studing Ruby's Runtime and Internals

7 点作者 aalhour大约 2 年前
Hey folks, I am interested in learning more about Ruby's internals and it's runtime, topics such as: garbage collection, concurrency, memory management ... etc. What would be a good place to read on these before jumping right into the C code? Thanks.

3 条评论

jjgreen大约 2 年前
I had a look around last time I dived into Ruby internals, and there&#x27;s really not a lot around. <i>But</i> the Ruby source is well structured and well commented, I&#x27;d recommend just piling in to it, when you get stuck search on the text of the comments or ask on SO etc.
ignurant大约 2 年前
In addition to the Ruby under a Microscope (linked elsewhere), a lot of talks from Aaron Patterson (Tenderlove) are enlightening in this regard. I&#x27;ve learned a lot from them, and they also provided the inspiration to keep digging. Some highlights:<p>Memory:<p>- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZfgxvNUfQdU&amp;t=3s&amp;ab_channel=Confreaks">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ZfgxvNUfQdU&amp;t=3s&amp;ab_channel=...</a><p>- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1F3gXYhQsAY&amp;ab_channel=Confreaks">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1F3gXYhQsAY&amp;ab_channel=Confr...</a><p>JIT and the Ruby VM:<p>- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=FCjwSOlHqbY&amp;ab_channel=hexdevs">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=FCjwSOlHqbY&amp;ab_channel=hexde...</a><p>- <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5QgQicKHmeU&amp;ab_channel=RubyCentral">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=5QgQicKHmeU&amp;ab_channel=RubyC...</a><p>And loads of others.
stefanos82大约 2 年前
Probably this book <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Ruby-Under-Microscope-Illustrated-Internals-ebook&#x2F;dp&#x2F;B00GK5P6L2" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Ruby-Under-Microscope-Illustrated-Int...</a> will be sufficient for you.