Live data from Hacker News

Arcadia: Unity 3D Development in Clojure

arcadia-unity.tumblr.com

1–10 of 34 posts

Re: Arcadia: Unity 3D Development in Clojure

#5
post #3

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.

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?

Re: Arcadia: Unity 3D Development in Clojure

#6

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.

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

#7
I saw the recording of the presentation at StrangeLoop.

First of all, let me congratulate the developers.

Another idea that this presentation gave me was to profit from Clojure and ClojureCLR, as a mean to write portable code across Android and Windows Phone systems.

Specially given the anaemic support for OS APIs in the NDK for C++. At least Clojure gets an easier life to the Android APIs.

So, assuming that Clojure 1.7.0 gets an improved startup time and profiles, coupled with ClojureCLR 1.7.0, it would be a nice way to write portable code with native APIs.

Re: Arcadia: Unity 3D Development in Clojure

#8
post #3

Earlier quoted context omitted.

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?

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

Re: Arcadia: Unity 3D Development in Clojure

#9

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.

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/clo…

Clojure-CLR is the real deal, too - 1.7, transducers, etc. nREPL support's probably coming soon.

Re: Arcadia: Unity 3D Development in Clojure

#10
post #3

Earlier quoted context omitted.

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)

Post reply on HN