[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua OS
- From: "John D. Ramsdell" <ramsdell0@...>
- Date: Mon, 23 Apr 2012 18:24:57 -0400
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