4 ms·
Strongly disagree. SBCL is not embeddable. It produces huge binaries. Managing and versioning dependencies is very difficult. Newer dialects like Janet and Fen
by BaculumMeumEst 4y ago
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.
- koito17 4y agoThankfully 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.
- parlortricks 4y agoAh Fennel i love that language
- vindarel 4y ago> 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 https://www.youtube.com/watch?v=jLkqYVTqM38 (with english subs)
- medo-bear 4y agosee 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 https://ulisp.com [1] https://cons.io https://cons.io
- schemescape 4y agoDoes Gerbil run on Windows?
- medo-bear 4y agogiven that Gambit does, i would say it is possible
- schemescape 4y agoThanks! I had only looked at the Gerbil docs and couldn’t find anything about Windows.
- _19qg 4y agoThat's why Common Lisp is a standard and has different implementations. ECL for example is called "Embeddable Common Lisp". https://ecl.common-lisp.dev/ 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.