logoalt Hacker News

Chez from a Clojurian perspective

70 points • by pushpankar • last Sunday at 4:30 AM • 45 comments • view on HN

Comments

manoDev • today at 1:28 PM

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

nefreat • today at 2:16 PM

There's a dialect of Clojure (https://github.com/jolt-lang/jolt) built on top of Chez Scheme.

drannex • today at 5:19 PM

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.

hajile • today at 3:41 PM

All of this reads like they should have used Common Lisp or Coalton instead.

➕ show 1 reply
e12e • today at 1:19 PM

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.

gwerbin • today at 3:37 PM

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.

vegnus • today at 1:20 PM

https://margeux.com/chez.html

Anyone wants to try Chez for a laugh or pleasure

mcc1ane • today at 11:07 AM

> but its startup time wasn't ideal for a text editor.

What about Jank (https://jank-lang.org/)?

➕ show 1 reply
dapperdrake • last Sunday at 4:50 AM

Clojure really seems like a good way to learn lisp. Broke homoiconicity just enough.

➕ show 4 replies
pjmlp • today at 10:23 AM

> Scheme uses lists for almost everything

Not really, Scheme has first class support for arrays and hash tables.

➕ show 1 reply
silcoon • today at 11:08 AM

Can I ask you why you choose Chez, over other schemes? Why not Racket, GNU Guile or CHICKEN scheme?

Interesting reading anyway, kudos!

➕ show 2 replies
throwaway27448 • today at 11:41 AM

> 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?

➕ show 1 reply
nathell • today at 10:56 AM

These days we also have Jolt, a vibecoded Clojure implementation on top of Chez!

https://jolt-lang.net/

➕ show 1 reply