I’ve used Clojure professionally for almost a decade, but lately I’ve been working with Racket for personal projects - super fast, can build binaries, has GUI library, C FFI (and AI helps a ton here writing all the boilerplate).
I managed to build an entire app in Racket that integrates seamlessly with C and ObjC (Apple’s APIs), including Metal.
Interesting article! I would have loved to see some examples of clojure vs chez, especially:
> On the other hand, lack of generic data structures and functions encourages you to make records for cases where you use maps, and create domain-specific functions. In Clojure you treat your program as a data processing pipeline whereas in Chez you talk more in terms of domain entities.
And contrasting let-syntax with clojure.
hajile
All of this reads like they should have used Common Lisp or Coalton instead.
show comments
drannex
Love Chez, but there seriously needs to be an organization willing to put together resources, events, tutorials, and better documentation than there currently is. Just dropping a PDF of spec is a slog to get through to really learn how incredible this language is.
gwerbin
Chez is a rather stripped-down Scheme, and it's also an R6RS which can be kind of clunky.
If you're a Clojure user you might want to try Gauche or (my favorite) Guile for a more Python-like standard library experience.
Or you can try one of the JVM-based Schemes like Kawa.
I’ve used Clojure professionally for almost a decade, but lately I’ve been working with Racket for personal projects - super fast, can build binaries, has GUI library, C FFI (and AI helps a ton here writing all the boilerplate).
I managed to build an entire app in Racket that integrates seamlessly with C and ObjC (Apple’s APIs), including Metal.
https://revelar.riq.net.br
There's a dialect of Clojure (https://github.com/jolt-lang/jolt) built on top of Chez Scheme.
Interesting article! I would have loved to see some examples of clojure vs chez, especially:
> On the other hand, lack of generic data structures and functions encourages you to make records for cases where you use maps, and create domain-specific functions. In Clojure you treat your program as a data processing pipeline whereas in Chez you talk more in terms of domain entities.
And contrasting let-syntax with clojure.
All of this reads like they should have used Common Lisp or Coalton instead.
Love Chez, but there seriously needs to be an organization willing to put together resources, events, tutorials, and better documentation than there currently is. Just dropping a PDF of spec is a slog to get through to really learn how incredible this language is.
Chez is a rather stripped-down Scheme, and it's also an R6RS which can be kind of clunky.
If you're a Clojure user you might want to try Gauche or (my favorite) Guile for a more Python-like standard library experience.
Or you can try one of the JVM-based Schemes like Kawa.
https://margeux.com/chez.html
Anyone wants to try Chez for a laugh or pleasure
> but its startup time wasn't ideal for a text editor.
What about Jank (https://jank-lang.org/)?
Clojure really seems like a good way to learn lisp. Broke homoiconicity just enough.
> Scheme uses lists for almost everything
Not really, Scheme has first class support for arrays and hash tables.
Can I ask you why you choose Chez, over other schemes? Why not Racket, GNU Guile or CHICKEN scheme?
Interesting reading anyway, kudos!
> You can implement a namespace-like thing on top of it and together with continuations it can surpass the interactivity of Clojure.
I'm curious what you're thinking of here. Can you expound?
These days we also have Jolt, a vibecoded Clojure implementation on top of Chez!
https://jolt-lang.net/