News for hackers. Stuff that matters.
Re:Compile Clojure to Objective-C by AlexanderDhoore on Friday January 03, 2014 @06:31PM (#7009000)
I read somewhere it is kind of impossible to implement Clojure without the JVM...

I would really like to see a Clojure on LLVM project though. Maybe speed won't be better, but memory usage and boot times might.

Re:Compile Clojure to Objective-C by phaedryx on Friday January 03, 2014 @07:00PM (#7009096)
Re:Compile Clojure to Objective-C by markc on Friday January 03, 2014 @07:31PM (#7009232)
Implementations already exist for the CLR as well as Python, C, Scheme, and of course JavaScript. LLVM appears to be in the thinking stage still: https://github.com/halgari/clojure-metal
Re:Compile Clojure to Objective-C by Touche on Friday January 03, 2014 @07:46PM (#7009305)
To be fair, nothing but JVM and JavaScript are more than just prototypes.
Re:Compile Clojure to Objective-C by mortyseinfeld on Friday January 03, 2014 @10:57PM (#7009912)
That's not true. In fact, the CLR port has been around and up to date for years and before ClojureScript.
Re:Compile Clojure to Objective-C by Touche on Saturday January 04, 2014 @09:02AM (#7011050)
It's used by no one.
Re:Compile Clojure to Objective-C by mortyseinfeld on Saturday January 04, 2014 @10:38PM (#7014395)
You're not only wrong, but incapable of knowing that.
Re:Compile Clojure to Objective-C by pjmlp on Friday January 03, 2014 @06:49PM (#7009054)
The only dependency to the JVM would be the advantage of integrating with the Java ecosystem.

When compiling Clojure to native code, you won't be able to use Java libraries, unless the native compiler can also generate native code for .class files.

Re:Compile Clojure to Objective-C by Skinney on Saturday January 04, 2014 @12:44AM (#7010134)
True, but a Clojure-to-native compiler would be able to use native libraries, which isn't exactely in short supply either.
Re:Compile Clojure to Objective-C by pjmlp on Saturday January 04, 2014 @07:49AM (#7010893)
You are right, the main problem being that those native libraries don't know anything about GC and you are forced to create some form of FFI.