Re:Emacs-like editors written in Common Lisp
by ArtixFox on Sunday October 02, 2022 @09:37PM
(#33062440)
Ooooh nice!!! That is amazing but how viable is common lisp for low level programming. Instead of embedding CL, what about a DSL that creates binaries, does something like this exist?
Re:Emacs-like editors written in Common Lisp
by ducktective on Monday October 03, 2022 @02:09AM
(#33063990)
For embedded application (as in micro-controllers) there is http://www.ulisp.com/
SBCL still needs garbage collection. There are also https://github.com/carp-lang/Carp and https://github.com/bakpakin/Fennel
I haven't used these. Would be great if low-level and embedded engineers could chime in.
I wrote a small program in CL and Rust, and (SB)CL can run faster than Rust EVEN FROM SOURCE! It's just completely mindblowing how fast it starts.
If you don't believe me, write a program that does something like count how many times each letter appears in a text file in CL and Rust, then run them with `time`. I can pretty much guarantee CL runs as fast or faster.
EDIT: my comment is meant for anyone curious about OP's clamis, I am obviously just agreeing with their point about CL's startup speed.