r/lua • • Nov 11 '20

Luajit Based OS

https://github.com/dlannan/ljos

Im working on building a Luajit based OS. Hence the name. Currently, it happily runs in qemu, and will also boot on my laptop and run as well (from a USB). It is an "in-memory" single user mode kernel at the moment (this will change).

It uses some excellent packages like Luajit, ljsyscall, FBGraphics, kilo, lummander, sdl2, cairo and more. I am currently working on the graphical side of things and getting sdl2 and cairo to operate without issue, as well as integrating my old UI that uses cairo.

Happy to get feedback, suggestions and ideas. Note: This is a "barebones" OS, the full OS will be based around a new style of UI system called mitree.

55 Upvotes

58 comments sorted by

View all comments

Show parent comments

1

u/[deleted] May 01 '26

Got it booting fine 😄 Well done. Nice little Luajit sandpit.
Can make you a bootable iso if you want. I used a simple ultra base x86_64 kernel to launch it. Seemed fine.

Made a couple of scripts for making an initramfs (for easy booting) and a qemu launcher. Works well. Can send some PR's if youd like.

2

u/CockroachOld2279 May 01 '26

Oh thanks!
I might want it but what I would like more is help, though with what you have on your hands you probably couldn't

What about spreading publicity about this project?

1

u/[deleted] May 02 '26

Happy to help if I can. I dont might doing small things here and there.

Most of my project I dont do it for popularity or likes - its purely interest and learning and making tools and frameworks for me to make things more easily.

So Im not overly worried about promotion. And again if you want to utilize it for your own needs - no probs do it, get rich! 😄 Im old, Ive had a very lucky life and more than happy to help others learn and grow.

1

u/CockroachOld2279 May 02 '26

i do my project for that too, but i also like if people see it
Not for me to be popular but for my project to be
But also the more that know about it, the more that want to help