Re:Mobius – .NET runtime running on .NET Core
by sdegutis on Tuesday April 07, 2020 @04:52PM
(#22807350)
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.
[ Parent
| on HN ]
Re:Mobius – .NET runtime running on .NET Core
by DisownedWheat on Tuesday April 07, 2020 @06:49PM
(#22808320)
So something like LÖVE2D with wrapped Win32 APIs? That would be super cool, I wonder if anyone has done something like that.
Re:Mobius – .NET runtime running on .NET Core
by sdegutis on Tuesday April 07, 2020 @09:15PM
(#22809195)
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?
Re:Mobius – .NET runtime running on .NET Core
by CuriousSkeptic on Tuesday April 07, 2020 @06:31PM
(#22808163)
The nerd in me just saw a great application of a futamura projection. ;)