Common Lisp Performance
Comments debate the performance, maturity, and advantages of Common Lisp implementations like SBCL, often comparing it favorably to Rust, Clojure, C, and other languages.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Why do you consider Common Lisp better in every way?
Any particular reason against Common Lisp?
Common Lisp is not a runtime, itβs a specification. Implementations are free to compile everything to fast native code, or to interpret everything. Various available implementations do that and everything in between. That said , SBCL and the commercial implementations can be extremely fast, especially if you specify types on tight loops. SBCL comes with a disassembler that shows you right in the REPL the Assembly a function compiles to so you can even get close to C performance.
Common Lisp has some very fast implementations (I think SBCL is the fastest) and it was designed to be a systems language. It can be optimized to be as fast as C.
Add Common Lisp (either SBCL or CCL). I kid you not, it can beat Rust.
Uh, no. Common Lisp is sensible. It's multi-implementation and several of the implementations are JVM levels of fast, while others are highly portable. There's a community, standards, and libraries. It's not where the froth of lisp experimentation is happening, but it's effective and a known quantity.
Just learn Clojure. Common Lisp is mainly obsolete.
That's a very complicated question. Common Lisp has many implementations, with different strengths and weaknesses. For example SBCL and CCL are good general purpose implementations. They're fairly performant, especially SBCL, properly optimized code can compete for C-like performance. ABCL gives you Java integration, not as nice as clojures for example, but perfectly usable IMO. ECL has a fairly small footprint and is good for embedding, it can also compile down to C I think. Clasp is
Common Lisp is a big, general purpose language and implementations like SBCL are fast so you can pretty much write whatever you want in it. Having a fast, high level expressive, dynamic language with a powerful macro system is generally where Lisps excel. And if you like functional programming there's Clojure.
Why do you like Common Lisp better?