Whats the best way to learn about VM implementation besides actually hacking code?

后端 未结 3 521
忘了有多久
忘了有多久 2021-02-03 13:46

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 langu

相关标签:
3条回答
  • 2021-02-03 14:05

    also check The Implementation of Lua 5.0. it's widely regarded as the fastest VM in its class and also one of the cleanest and smallest implementations.

    0 讨论(0)
  • 2021-02-03 14:12

    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.

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

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

    0 讨论(0)
  • 2021-02-03 14:15

    Have a look at LLVM and Parrot.

    0 讨论(0)
提交回复
热议问题