4 ms·
> Huh, What kind of unused code and data is there in a 25MB hello world? If you want to produce a standalone Lisp executable, you have to embed the compiler wi
by ealhad 9y ago
> Huh, What kind of unused code and data is there in a 25MB hello world?
If you want to produce a standalone Lisp executable, you have to embed the compiler with it, hence the big size.
However, if you just run the programs with your own compiler, you only need the actual code — that is a 44 bytes "Hello world!", shebang included.
On my machine, the SBCL package is 70 MiB, while for example the Python one is 125 MiB.
- FrozenVoid 9y ago>However, if you just run the programs with your own compiler, By that logic GCC is also an interpreter. https://github.com/abijith-kp/gcc-interpreter https://github.com/abijith-kp/gcc-interpreter
- ealhad 9y agoWhat do you think of Python, then?
- armitron 9y agoIt's embarrassing watching you trying to argue, when it's more than obvious you haven't got the slightest clue of what you're talking about and probably never used Common Lisp in your life. Rather than wasting your time propagating fallacies and outright lies, wouldn't it be better to get informed? I won't hold my breath.
- very_mediocre 9y agoPlease don't be mean. Also, it can be exciting to find where or why one may be misled about something, and then to try and explain it well.
- FrozenVoid 9y ago"Informed" about what? I don't blindly follow language evangelism. Its the Lisp advocate job to prove their language is as great as they claim. If for example a site provides an example of 25MB hello world, i can instantly estimate what kind of bloat i deal with and move on. I don't have to (declaim (optimize speed (safety 0))) and use a tree shaker to squeeze the bytes out of final executable just so that i can say SBCL (for example) is not a bloatware generator but these stupid users just forgot to add optimizations and tree-shake everything.
- someSven 9y agoIf you recognize Lisp as a family of languages, then there is still newLisp which only adds some 100kb to a executable. And for a lot of stuff it's fast enough.
- ealhad 9y agoOh, I never heard of this one before. Thanks a bunch, it looks quite nice! ...although I code much more in Haskell nowadays, I might get hooked on macros again.