Hacker News new | ask | show | jobs
by danabramov 4259 days ago
Does that mean that Clojure is ported to Mono? If not, what level of Mono support can I expect?

I'm wondering because I always wanted to start learning Clojure but Java ecosystem puts me off.

2 comments

Totally! Arcadia is based on the Clojure-CLR port (an official project) maintained by David Miller for five years or so. It supports Mono.

We had to fork the compiler to introduce a small number of changes to make Arcadia work in Unity, though. Unity ships a very old version of Mono with their own changes, so stock Clojure-CLR would not work.

https://github.com/clojure/clojure-clr https://github.com/arcadia-unity/clojure-clr

Clojure-CLR is the real deal, too - 1.7, transducers, etc. nREPL support's probably coming soon.
That would be fantastic. If it could hook up to LighTable OOTB that would be a fantastic way to introduce people to it.
That would be amazing! Can you invoke command line scripts from LT? If so you could just use our included REPL client implemented in Ruby. Otherwise you'd have to port it to ClojureScript, but the client is designed to be simple enough to make that easy to do.
Yep, though it's not as easy as it could be yet. The best way currently is to write your own command leveraging our spawning APIs (a thin wrapper around node's child_process module with some extra cljs sugar).
Clojure exists for a long time in the form of Clojure-CLR.
Sorry, I'm out of touch. I visited CJCLR a long time ago (maybe a year or two) and had the impression it's a work in progress and a lot of basic things are missing. Is that no longer true, or was my initial impression invalid? Can I start learning Clojure with it and expect it to work more or less like “proper” Clojure?
There is a lot of Clojure code out there using Java interop. That said, a lot of "proper" Clojure runs across all three major runtimes (Java/CLR/JS) without any significant changes.

(while I'm here, let me also point out http://hylang.org in case you use Python - it's a nice gateway drug, if you'll pardon the pun)

I've never used ClojureCLR personally, but its wiki on github claims to track the main Clojure project within weeks, and the last commit was 2 days ago. There seems to exist a version 1.6.0.

That said, I bet the tooling isn't so nice to use as Leiningen, although there does exist a Visual Studio somewhere.

You can expect a full, "proper" Clojure 1.7 experience using Arcadia.