Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I've been wanting for a while a lightweight Electron alternative that doesn't use web views, just native APIs, and uses Lua instead. So it would be an .exe file that looks for a main.lua somewhere, and runs it, giving access to modules that wrap the Win32 API in high-level functionality. Then you could run a command that combines the .exe and the main.lua into a new .exe file that you can distribute. It would be super lightweight and wouldn't even need a compiler to be installed to be able to make tiny lightweight apps.


So something like LÖVE2D with wrapped Win32 APIs? That would be super cool, I wonder if anyone has done something like that.


I know there are Win32 Lua APIs. Maybe this is a 10 line windows app that just loads those in a host that loads main.lua?


The nerd in me just saw a great application of a futamura projection. ;)




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

Search: