A Clojurian's year with Chez Scheme: powerful macros, but interactive development disappoints
Chez Scheme from a Clojurian Perspective
After a year building a rich text editor in Chez Scheme, a Clojure veteran weighs the trade-offs. Scheme's hygienic macros and pattern matching win him over, and its C FFI makes GTK integration seamless. But he misses Clojure's data literals and polymorphic functions, and finds Chez's immutable modules break the interactive workflow he expected. Verdict: Chez suits small, fast-starting binaries; Clojure remains better for server-side work.
If Chez Scheme can say that it supports interactive development then Python can too.
- manoDev
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.
- e12e
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.
- vegnus
Anyone wants to try Chez for a laugh or pleasure
- mcc1ane
> but its startup time wasn't ideal for a text editor.
What about Jank (https://jank-lang.org/)?
- silcoon
Can I ask you why you choose Chez, over other schemes? Why not Racket, GNU Guile or CHICKEN scheme?
Interesting reading anyway, kudos!