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

Lisp

52 readers
3 users here now

founded 1 year ago
MODERATORS
 

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

top 9 comments
sorted by: hot top controversial new old
[–] funk443@alien.top 1 points 11 months ago (1 children)

Write a simple project with each of these languages, and you'll get the idea

[–] Ok_Specific_7749@alien.top 1 points 11 months ago (1 children)
[–] doulos05@alien.top 1 points 11 months ago

And yet also the best way. What do you want to know about them? Speed? Portability? Libraries? Ease of installation? Ease of packaging for shipment to non-technical users? Size of language? Syntactical differences?

We can't answer this question as posed because we don't know what you want to know. But you do. And so if you were to build the same project in both languages, you would know which language fit your needs better.

[–] Ok_Specific_7749@alien.top 1 points 11 months ago

After analyzing i will focus on racket & sbcl & haskell.
Why ? Many libraries & descend books.

[–] zeekar@alien.top 1 points 11 months ago

Why does your subject mention R6RS while your body asks about Clojure? Clojure is not a Scheme.

[–] Psychosqr@alien.top 1 points 11 months ago

Use Common Lisp if you want to feel like a dinosaur. This is why I moved to racket! I’m happy now

[–] friedrichRiemann@alien.top 1 points 11 months 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 11 months 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 11 months 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.