this post was submitted on 06 Oct 2023
0 points (50.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
 

What are the strengths , weaknesses.
How to compare sbcl with clojure

you are viewing a single comment's thread
view the rest of the comments
[–] friedrichRiemann@alien.top 1 points 1 year ago (1 children)

Good questions, I'm a beginner too but from what I understood:

  • r6rs or scheme are minimal in language specs but not as portable as cl. The libraries for Chicken Scheme won't work in Racket for example. But pretty much all libraries in CL will work on almost all of its implementations (SBCL, CCL, ECL, etc)
  • SBCL compiles to native code but Clojure compiles to JVM bytecodes. So SBCL is faster performance-wise. However, if there is a library in Java world that you particularly like, Clojure would have better interoperability with it.

Do a search on this subreddit for other views. This comes up often.

[–] Ok_Specific_7749@alien.top 1 points 1 year ago (1 children)

My favorite scheme/lisp implementations are sbcl/racket/chicken.
Not because of speed or portability but mainly because of available libraries.

[–] green_tory@alien.top 1 points 1 year ago

As a former Schemer: I wish Scheme were as portable as CL, and had something as awesome as QuickLisp. There's something fantastic about being able to use the CommonLisp implementation that's most appropriate for your platform/target and still be able to take your code with you.