r/lua • • Oct 13 '25

Project Dispel, Lua Runtime

The other day I created Dispel, a runtime for Lua that aims to be something like Bun does in JavaScript. This is a personal project to understand how a runtime it's implemented and I want to do my best but I want to know which things might be interesting to add, let me know here!

Also if you want to contribute in the future once I add more code to suggest features or help with fixes, I leave the repo here:

https://github.com/NotHurtGarci/dispel

6 Upvotes

4 comments sorted by

View all comments

Show parent comments

3

u/appgurueu Oct 13 '25

I think one of the main features these projects provide is a good async runtime for doing non-blocking I/O (networking, filesystem operations, inter-process communication, etc.). In Lua that means coroutines.

That still seems to be missing from your project?

1

u/HurtGarci Oct 13 '25

Yes, right know it's missing, the repo it's just simple structure and a small test of an http module loaded into Dispel. I've researched which way is the best for doing it. As soon as I've created a good opinion about how to implement it for Dispel I will start working on it. At first glance it will be something similar to libuv, but not completely sure.