lua-users home
lua-l archive

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


One way of getting the feel of Lua as an OS is via LuaXen.  In 2006,
Xen's lightweight operating system called Mini-OS was augmented with a
version of Lua modified so that all arithmetic was performed using
integers.  This is because, at the time, Mini-OS did not save floating
point registers during a context switch, so floating point operations
had to be avoided.  In any event, one could build a VM with a Lua
script embedded, and interact with other VMs by hypercalls exposed to
the Lua script using the usual Lua techniques.  The email trail on
LuaXen can be found with the google search "site:xen.org luaxen".  And
who knows, by now Mini-OS might support floating point arithmetic,
meaning one use an unmodified version of Lua.

John