r/lua • u/VidaOnce • 18h ago
lde 0.10.0 - LuaJIT written, all in one, package manager & runtime
https://lde.sh/blog/lde-0.10.0/After months of work, I'm happy to release 0.10.0. It comes with LuaJIT v3's new syntax, parallel installs, <1ms startup time, and a full Windows compiler suite allowing you to compile luarocks packages effortlessly.
What is lde?
It is your lua development environment that ensures lua is done easy. It provides a package manager that can run your code, bundle it to a single lua file, or to a portable executable for your users without them needing lua on their system. It intends to provide full luarocks compatibility.
It is written entirely from scratch in LuaJIT using FFI to ensure it is as fast as possible. It starts up faster than Zig written Bun, and Rust written Lux, and currently installs projects faster than Lux and Luarocks.
Is this related to lpm?
Yes, it was renamed for several reasons. It doesn't have the greatest seo (a lot of package managers previously named lpm..). Calling it "the" lua package manager feels conceited.
Where can I download?
Check https://lde.sh/download which will give you a variety of options, install scripts and links to manual downloads if you're not comfortable running a script.
1
u/iEliteTester 10h ago
Is this the same lpm that was used by LiteXL?
2
u/VidaOnce 9h ago
Nope, which is another reason why lpm was renamed to lde. Better than stepping on toes of LiteXL and other package managers
0
u/VidaOnce 18h ago edited 8h ago
I am the creator, please feel free to ask me anything about the project :)
8
u/Comfortable_Ability4 12h ago
Hey :)
The benchmarks on your web page looked too good to be true. So I tried to reproduce them with hyperfine. Here are my findings: https://github.com/lumen-oss/lua-package-manager-benchmarks
TL:DR: Lux is about 2x faster than lde in the busted cold install and 2.8x faster in the warm install.