除了实际的黑客代码之外,了解VM实现的最好方法是什么? [英] Whats the best way to learn about VM implementation besides actually hacking code?

查看:173
本文介绍了除了实际的黑客代码之外,了解VM实现的最好方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想进一步了解VM执行和最佳化。现在我正在为JRuby贡献(在很小的方面),我也在玩/编写我自己的lisp类语言实现在VM中运行。

I'd like to learn more about VM implementation and optimization. Right now I'm contributing (in a small way) with JRuby and am also playing/writing with my own lisp-like language implementation that runs in a VM.

但是我想获得更多关于使用VM和设计它们的信息。除了阅读/使用现有代码之外,这种类型的信息有很好的资源吗?我不反对这样做,我只是想知道是否还有其他来源我可以研究。

However I'd like to get more information on working with VM's and designing them. Is there a good resource for this type of information besides reading/working with existing code? I'm not opposed to do that, I just wondered if there were other sources I could be looking into.

推荐答案

阅读安东Ertl的工作。也是大卫Gregg。另外,您可能需要阅读有关VM的三个章节的 Smalltalk蓝皮书 Smalltalk绿皮书也很有趣,在线免费。

Read the work of Anton Ertl. Also David Gregg. Also you might want to read the Smalltalk blue book which has three chapters on the VM. The Smalltalk Green Book is also interesting and is free online.

如果您能访问ACM数字图书馆,技术上仍然很有趣,是所有便携式虚拟机 UCSD Pascal

Less technical but still interesting, if you have access to the ACM Digital Library, is the grand-daddy of all portable VMs, UCSD Pascal.

最后,我再次推荐 Lua 5.0的实现。这是精湛的工作。

Fninally, I second the recommendation of The Implementation of Lua 5.0. This is superb work.

这篇关于除了实际的黑客代码之外,了解VM实现的最好方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆