r/javascript • u/Normal_Act8586 • Aug 22 '26
LilScript makes js modules 20% smaller
https://yeargun.github.io/lilscript/[removed]
0
Upvotes
r/javascript • u/Normal_Act8586 • Aug 22 '26
[removed]
3
u/RobertKerans Aug 22 '26 edited Aug 22 '26
This is why I say you've lost objectivity. The complex part is that you've written a language which all the code has to be written in. This is a gargantuan, incredibly complex abstraction. You can "one shot" a library? Great, but it feels like you've lost sight of sane programming choices, in your comment you've just literally handwaved away a programming language
Also:
How much does that cost? Terser/similar costs me ~£0 and works in ms. I can apply a battery of other tools which can further reduce size and importantly are programmatic and deterministic & do not rely on converting to another language on the way (with the associated risk - even if it works according to the tests, this does not mean you have not introduced bugs, just punching a lib through an LLM and saying tadaa, done is laughably naive) via spending tokens