Alberto Manuel Brandao Simoes sent the following bits through the ether: > I'm on the work of writting something about virtual machines and I > would like to know if there is any report on differences between JVM > and parrot... and if there is any web document about perl5 VM.
Righto, I've been looking at the differences between the two and they're different. Of course, you have to remember that Parrot is a long way from being finished, but already it compares quite well. Here's a few facts: o JVM is stack-based, Parrot is register-based (major difference!) (although Parrot also has a general stack) This change is major. Almost all other virtual machines are stack- based. Using registers enables us to use all the material on optimising stack machines o JVM has < 255 opcodes, Parrot will have many more o JVM is lower level, Parrot aims to be very high level (only just getting there as PMC's aren't quite ready yet) Gosh, it strikes me that there's a good talk in this material (and lo and behold, I've already given one at a London.pm technical meeting! ;-) and there is far too much to talk about. Alberto, you'll want to check out the following details too: http://cvs.perl.org/cvsweb/parrot/docs/overview.pod?rev=1.2&content-type=text/x-cvsweb-markup http://www.parrotcode.org/examples/ http://www.astray.com/java/ Hope this helps, Leon -- Leon Brocard.............................http://www.astray.com/ Nanoware...............................http://www.nanoware.org/ .... From my brain, an organ with a mind of it's own