4 ms·
Lilush – LuaJIT static runtime and shell
- myrmidon 8mo agoI find it quite interesting how particular languages seem to disproportionally attract specific kinds of projects. From a first glance, this is the second somewhat opinionated, compact, minimal-dependency interpreter/shell/library bundle despite the Lua(JIT) ecosystem being tiny. The other example I have in mind for this would've been luapower, which sadly became somewhat inactive. I really like the simplicity of the language and the speed and compactness of its implementation. The JIT is also the real deal, with millisecond cold start execution delays unlike Julia, which masquerades as a JIT/interpreted language while featuring dog slow (by comparison) LLVM ("pre-")compilation under the hood (core language, type system, package management and interoperability concepts are admittedly nice in Julia though).
- trescenzi 8mo agoThis is what culture is right? Different sorts of people are attracted to different sorts of things and so the culture that builds around those things is somewhat self reinforcing. Lua's culture mirrors its core and attracts people who like simple extensible solutions to problems. This looks like a pretty compelling simple extensible tool. Hopefully the development continues and doesn't drop off like Luapower. I do wish it had first class fennel support but that's really easy to add.
- epicfile 7mo agoI've been working on it since 2022, and so far there are no plans to stop the development, given that it's my daily driver shell and scripting tool.
- rainingmonkey 8mo agoAlso loosely related: Redbean is a webserver in a single-file that runs natively on six OSes for both AMD64 and ARM64 https://redbean.dev/ https://redbean.dev/
- tiffanyh 8mo agoLua is designed for the use case of being embedded. > "Lua: an extensible embedded language" https://www.lua.org/ddj.html https://www.lua.org/ddj.html
- aa-jv 8mo agoAnother one - LuaTurbo: https://turbo.readthedocs.io/en/latest/ https://turbo.readthedocs.io/en/latest/ Lua, with batteries included, like a swiss army knife ..
- rainingmonkey 8mo agoDoes this run on bare metal? Are there any plans to include graphics primitives? As another comment suggested, Lua seems to lend itself to certain kinds of projects. This looks like it could mesh well with my forever project to rewrite userland in Love2d!
- karteum 8mo agoSpeaking about "batteries included" LuaJIT, people might be interested in https://franko.github.io/gsl-shell https://franko.github.io/gsl-shell
- nyankosensei 8mo agoI second this recommendation. For those interested, this is “An interactive application for maths and graphics based on the Lua programming language and the GNU Scientific Library.” for both Windows and Linux. I installed it and keep a shortcut on my Windows desktop for quick calculations. https://github.com/franko/gsl-shell https://github.com/franko/gsl-shell
- aa-jv 8mo agoAnother one, which I've used quite productively - TurboLua: https://turbo.readthedocs.io/en/latest/ https://turbo.readthedocs.io/en/latest/
- pbohun 8mo agoThis looks very interesting. It says it has networking, cryptography, etc. Is there any documentation of the APIs? I can't try this out if I don't know what they are.
- pratyahava 8mo agohttps://codeberg.org/latimar/lilush/src/branch/master/INDEX.md https://codeberg.org/latimar/lilush/src/branch/master/INDEX....
- epicfile 7mo agoThere is now: https://docs.lilush.link https://docs.lilush.link Will be more + user guides
- pbohun 7mo agoThanks for the update!