←back to thread

188 points refset | 1 comments | | HN request time: 0s | source
Show context
masijo ◴[] No.41865268[source]
Incredible work. A native Clojure would be a dream come true!

Wish jank the best of lucks. Hope I can contribute soon.

replies(1): >>41869688 #
systems ◴[] No.41869688[source]
From their website, Jank is a dialect of clojure, and strongly compatible, I am not 100% sure what this means, but to me at least, it means it is not clojure and it is not native coljure

That being said, what would be the benefits of a native clojure, you have common-lips and guile if you want native

But again, Jank is not clojure .. just clojure-like, or so it seem

replies(3): >>41870009 #>>41870821 #>>41872076 #
Jeaye ◴[] No.41872076[source]
> But again, Jank is not clojure .. just clojure-like, or so it seem

jank is Clojure. If it works on Clojure JVM and it works on ClojureScript, it should generally work on jank. Clojure doesn't have a language specification, but the community knows what a proper Clojure should feel like. Strong Clojure compatibility means anything outside of interop should just work. Naturally, interop on Clojure is very host-specific; Clojure JVM does one thing, ClojureScript does another, Clojure CLR does a third thing.

> That being said, what would be the benefits of a native clojure, you have common-lips and guile if you want native

At this point, we'd be discussing the benefits of Clojure over CL and Guile, which ends up being a different discussion. jank is for Clojure devs who want a native host and good native interop. It's also for native devs who want to introduce interactive programming and FP into their systems.

replies(2): >>41872459 #>>41891930 #
dustingetz ◴[] No.41872459[source]
can you use jank in .cljc files and portable code regions just work? platform specific interop guarded of course?
replies(1): >>41873009 #
1. Jeaye ◴[] No.41873009[source]
Yes! jank has its own :jank reader conditional which you can use.