lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


There is no documentation about virtual machine yet. But the reason that Dao is faster than Lua when there are less functions, is because Dao has a typing system that generates type specific VM instructions for certain operations, which saved a lot type checkings at running time. But the type checking has to be carried out for function calls, and such type checking is not optimized yet, so if there are frequent function calls, Dao will slow down.


On Mon, Mar 9, 2009 at 3:31 PM, Marco Bambini <marco@sqlabs.net> wrote:
Is there some documentation available that explains how the Dao virtual machine has been designed?
Or why it is faster than Lua and so on...

Thanks.
--
Marco Bambini
http://www.sqlabs.com
http://www.creolabs.com/payshield/


--
Limin Fu

http://www.daovm.net