Updates

Latest Tweet



What's New?

Check out for latest innovation, a computer based training video collection


Like this Page

Virtual Machine Design and Implementation C/C++ Review by ss_ss

Come on. Virtual Machine and C/C++?

This book is more about "actual" machine emulation. The so call virtual machine in the book is awfully close to a real machine. The idea of building a virtual machine is to have an higher lever of abstraction. Virtual machines are usually designed with a specific kind of programming language in mind. Virtual machines are designed so language designers can build their language on top of a higher level of abstraction. What's the point of building a VM that looks like x86?

I skim through the book, and didn't find any information that could be useful for the VM I was building. It talks a lot about how a real machine works and how to simulate it in software. The C/C++ code in the book is not that bad, but I guess we should expect a bit more from someone who wrote a book with C/C++ in the title. There are plenty of bad examples in the book that may mislead novice C++ developers.