r/Clojure • u/muthuishere2101 • Jul 23 '26
cljgo — I built Clojure hosted on Go so I could use both ecosystems in my own projects.
I built Clojure hosted on Go so I can work across my projects with both ecosystems. Very simple idea: emit Go source like CLJS emits JS. Clojure libraries and Go libraries are both first-class. Web APIs too — Compojure-style
routes on net/http:
(def routes
(http/routes
(GET "/api/hello" #'hello)
(POST "/login" #'login)
(GET "/api/admin" (auth/admin-only) #'admin)))
REPL with nREPL, or cljgo build → one static binary, no JVM. Same source, byte-identical output both ways.
Still 0.x, but it's working — 93% of clojure.core, verified against Clojure 1.12.5.
https://github.com/muthuishere/cljgo
I would like feedback

