Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Strongly disagree. SBCL is not embeddable. It produces huge binaries. Managing and versioning dependencies is very difficult.

Newer dialects like Janet and Fennel address these deficiencies.



> It produces huge binaries.

My binary with dozens of dependencies (the compiler, the debugger, a web server and all that's required for a web app) is ±30MB, it starts up in 0.40s. The non-compressed binary weighs 120MB and starts in 0.02s.

> Managing and versioning dependencies is very difficult.

You can use Qlot and CLPM these days.

Alexander of 40ants made a demo: https://www.youtube.com/watch?v=jLkqYVTqM38 (with english subs)


Thankfully SBCL is just an implementation and not the language ;)

There are alternative implementations, like ECL, which is capable of transpiling to C and producing small binaries and dylibs. Then there are implementations like CCL, which have low memory footprint (a freshly booted image consumes ~6.8 MB RAM on my Mac). Lastly, there are commercial implementations like LispWorks and Allegro CL which offer tree-shaking, unlike all other implementations.


That's why Common Lisp is a standard and has different implementations.

ECL for example is called "Embeddable Common Lisp". https://ecl.common-lisp.dev/

ABCL is embeddable into Java.

LispWorks and Allegro CL can compile to shared libraries, which are embeddable.

SBCL, OTOH was not developed with the goal to be embeddable.


see ulisp [0] for a lisp with small memory footprint

there are also many other subsets of common lisp you can use for various things that require a small memory footprint

i also want to know what does Janet bring to the table that a Scheme like a Gerbil [1] does not?

[0] https://ulisp.com

[1] https://cons.io


Does Gerbil run on Windows?


given that Gambit does, i would say it is possible


Thanks! I had only looked at the Gerbil docs and couldn’t find anything about Windows.


Ah Fennel i love that language




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: