News for hackers. Stuff that matters.
Re:Arcadia: Unity 3D Development in Clojure by danabramov on Friday October 17, 2014 @04:04PM (#8473042)
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.

Re:Arcadia: Unity 3D Development in Clojure by ramseynasser on Friday October 17, 2014 @04:10PM (#8473075)
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

Re:Arcadia: Unity 3D Development in Clojure by timsgardner on Friday October 17, 2014 @04:16PM (#8473114)
Clojure-CLR is the real deal, too - 1.7, transducers, etc. nREPL support's probably coming soon.
Re:Arcadia: Unity 3D Development in Clojure by Rapzid on Friday October 17, 2014 @09:20PM (#8474296)
That would be fantastic. If it could hook up to LighTable OOTB that would be a fantastic way to introduce people to it.
Re:Arcadia: Unity 3D Development in Clojure by ramseynasser on Saturday October 18, 2014 @07:25AM (#8475129)
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.
Re:Arcadia: Unity 3D Development in Clojure by joshuafcole on Wednesday October 22, 2014 @01:30PM (#8493831)
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).
Re:Arcadia: Unity 3D Development in Clojure by pjmlp on Friday October 17, 2014 @04:06PM (#8473052)
Clojure exists for a long time in the form of Clojure-CLR.
Re:Arcadia: Unity 3D Development in Clojure by danabramov on Friday October 17, 2014 @04:08PM (#8473066)
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?
Re:Arcadia: Unity 3D Development in Clojure by rcarmo on Friday October 17, 2014 @04:16PM (#8473117)
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)

Re:Arcadia: Unity 3D Development in Clojure by adambard on Friday October 17, 2014 @04:25PM (#8473152)
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.

Re:Arcadia: Unity 3D Development in Clojure by ramseynasser on Friday October 17, 2014 @04:16PM (#8473109)
You can expect a full, "proper" Clojure 1.7 experience using Arcadia.