News for hackers. Stuff that matters.
Re:Common Lisp for Shell Scripting by perihelions on Thursday May 23, 2024 @12:10PM (#40456516)
If you insist on doing this, you would want to built a custom SBCL core for the purpose. SBCL startup time is ~80 milliseconds on my machine, which is not only unpleasantly noticeable by itself, it's a total show-stopper if you're doing some `find | xargs` type shell pattern and you're multiplying that 80ms by ten thousand. An executable core file brings that down to 3 ms.

You'd want to pre-load all the packages you expect to typically use, in your scripting Lisp, so they go straight into RAM memory without any delay. And you'd want to turn off core compression entirely, to wring out those last milliseconds.

There are no comments on this comment yet.