Top all-time · #12269
Eric Timmons
Personal blog · timmons.dev/postsprogrammingsystems
Eric Timmons's personal blog at timmons.dev covers programming and systems. Since 2021, 6 different Hacker News readers have linked it 11 times, most often “Static Executables with SBCL v2”. The last post was in 2022, but the archive is still widely read.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
HN readers link Eric Timmons's posts on building static executables with SBCL, a Common Lisp implementation, including a v2 update and an earlier version explaining when static binaries are useful.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Static Executables with SBCL v24 people · 8 mentions · first linked 2021-02-25
- /posts/static-executables-with-sbcl.html2 people · 2 mentions · first linked 2021-02-25
What Hacker News says?
ack, thanks. I still want to see what I'm missing, so I'll keep trying. Compilation to binaries works fine. A SBCL binary will weight ±35MB (compressed, 120MB uncompressed). This includes everything (compiler, debugger etc). A bigger app with dozens of deps doesn't grow too fast, like ±40MB for a web app. I think that's in the ballparks of a growing Go app. LispWorks allows to shrink the binary size to ±4MB (but the…
Comment linking /posts/static-executables-with-sbcl-v2.html
on “A Road to Common Lisp (2018)”Submitted Static Executables with SBCL v2 as a story · 113 points
HN discussionYeah, you've got a dynamically linked binary. There is a work in progress on SBCL to make it possible to create a really static binaries: https://www.timmons.dev/posts/static-executables-with-sbcl-v... I tried this fork and it worked for me!
Comment linking /posts/static-executables-with-sbcl-v2.html
on “Kina Knowledge, using Common Lisp extensively in their document processing stack”You have this way: https://lispcookbook.github.io/cl-cookbook/scripting.html#wi... and truly static executables are coming: https://www.timmons.dev/posts/static-executables-with-sbcl-v...
Comment linking /posts/static-executables-with-sbcl-v2.html
on “Kina Knowledge, using Common Lisp extensively in their document processing stack”The previous version of the article ( https://www.timmons.dev/posts/static-executables-with-sbcl.h... ) explains a few contexts where static binaries are desirable.
Comment linking /posts/static-executables-with-sbcl.html
on “Static Executables with SBCL v2”For static builds, if you're willing to run a slightly older version of sbcl daewok's work on building and linking sbcl in a musl environment might be solution you're looking for. I've tried to port his patches to more recent versions but there are segfaults due to changes in upstream. https://www.timmons.dev/posts/static-executables-with-sbcl.h... https://www.timmons.dev/posts/static-executables-with-sbcl-v...
Comment linking /posts/static-executables-with-sbcl-v2.html
on “It's 2023, so of course I'm learning Common Lisp”Indeed. This patch was working for a previous version of SBCL: https://www.timmons.dev/posts/static-executables-with-sbcl-v... I heard projects (like the Kandria game) build their releases on an old glibc (but latest SBCL and libraries), so it can be shipped to any more recent system.
Comment linking /posts/static-executables-with-sbcl-v2.html
on “Writing Small CLI Programs in Common Lisp (2021)”Other great achievements from last year [0]: - SBCL is callable as a shared library (see sbcl-librarian) - sb-simd - prebuilt binaries for Android (termux, unofficial) - better image compression using zstd - I'll add https://github.com/sionescu/sbcl-goodies , binaries with "goodies" inside (OpenSSL, libfixposix) yay! [0]: https://lisp-journey.gitlab.io/blog/these-years-in-common-li... bonus from 2021: true static bi…
Comment linking /posts/static-executables-with-sbcl-v2.html
on “Parallel Garbage Collection for SBCL [pdf]”I was wondering if compiling via Zig would work. Also, thanks for the Guix tip—I will give that a try! I think native dependencies would require something like this (which I believe uses Deploy to solve part of the problem): https://www.timmons.dev/posts/static-executables-with-sbcl.h...
Comment linking /posts/static-executables-with-sbcl.html
on “fe: A tiny, embeddable language implemented in ANSI C”current workflow: binaries with dynamic linking https://lispcookbook.github.io/cl-cookbook/scripting.html The Deploy tool helps in shipping foreign libraries alongside the binary: https://lispcookbook.github.io/cl-cookbook/scripting.html#wi... Truely static executables are coming to SBCL: https://www.timmons.dev/posts/static-executables-with-sbcl-v... and this. Coming from Python, sending my self-contained web app t…
Comment linking /posts/static-executables-with-sbcl-v2.html
on “Distributing binaries with Common Lisp and foreign libraries”