[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Documentation for 5.2 VM instructions.
 
- From: Lorenzo Donati <lorenzodonatibz@...>
 
- Date: Wed, 21 Sep 2011 06:55:01 +0200
 
Hi all and especially KHMan!
Is there already a "No-Frills Introduction to Lua 5.1 VM Instructions" 
for 5.2 VM [1] or any equivalent higher level documentation (higher than 
browsing the source, I mean)?
Or at least a document describing the differences between 5.1 and 5.2 
that can be found when browsing a VM listing?
Playing with luac listings in 5.2 I noticed a GETTABUP mnemonic. Any 
more differences?
On a related note, out of curiosity I wonder if there is something like 
an "assembler" targeting Lua VM. I know Lua VM specification is a Lua 
implementation detail, but I'm curious to know if someone has tried this 
way to enhance the performance of Lua in time-critical code (assuming 
that hand-crafted Lua bytecode could squeeze some cycles out of the VM).
Any pointer appreciated!
Thanks.
-- Lorenzo
[1] I assume that at this stage (5.2 beta) the VM instruction set has 
been frozen; of course if I'm wrong I understand it's too soon to look 
for updated documentation.