Hacker News new | past | comments | ask | show | jobs | submit login

The codebase is so small that it's quite easy to take a look to answer the questions:

* no networking at all

* performance - doing what?

* file primitives are implemented purely in Lua, and what is currently there resembles a pre-initialized ramfs. Closing a file is a NOP, the concept of numerical file descriptors is not fully implemented yet. So - no block devices yet.

* aside from file primitives, you have lua coroutines as the core of the scheduling, inb()/outb() (bytewise port I/O), and putpixel/clearscreen in the API implemented in C, as well as basic keyboard handling (using inb/outb wrappers) and graphics primitives (using putpixel/clearscreen) implemented in Lua.

I suggest to take a quick peek at luakernel.c and luakernel.lua in the codebase.




If you want Lua running on bare metal with a network stack you can use the rump kernel[1].

[1] http://rumpkernel.org/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: