tags:

views:

324

answers:

3
+10  Q: 

Clojure on the CLR

I'm interested in investigating Clojure on the CLR. I see that there is a port--but I'm always a bit leery of these second-class citizens (i.e. they don't have the stability or functionality of the original). I'd less inclined to spend much time at this point if generally people find Clojure on the CLR immature--I simply don't have the time or energy to fight a bunch of problems at this point. On the other hand, if Clojure on the CLR seems well-baked, I'd start diving in today!

Has anyone real-world experience with Clojure on the CLR?

Any advice and/or other help getting started with the CLR version would be appreciated too.

+2  A: 
John K
I listened to this podcast--it gives a good intro to the history of the Clojure project generally and specifically about the CLR implementation. It learned that the CLR part wasn't just a port--C# was initially one of the ways Clojure was implemented.
Kevin Won
+3  A: 

At work, we have a significant amount of legacy .NET code so I've been using ClojureCLR a good amount in debugging to sanity check individual components. Have you been able to get to the REPL? It's definitely not as straightforward as the Java version, but the docs on github are pretty helpful. One thing that's going to be a pain is the lack of generics. You will have to hack them in yourself, but it's not exactly the hardest thing in the world. I've actually been meaning to write a blog post about ClojureCLR interop and generics. This might be the impetus to get me to do so.

Edit: finally got off my ass and did it... http://www.jierenchen.com/2010/08/clojureclr.html

Jieren
I'd definitely read a blog post on ClojureCLR and using its REPL. I'd especially be interested in hearing in more detail about how you are using it debug legacy .NET components.
Ray Vega
Nice post! It might now get me to finally try out ClojureCLR particularly with debugging.
Ray Vega
+1  A: 

If you look at the checkins rss feed you'll see that David Miller has been doing a lot of good work to add functionality. What's not clear is when David might be targeting a release or what functionality a release might contain. I'm eager to play with clojure-clr, but I'm holding off until it's baked enough to have an initial binary release.

Mike K
Great news! [David is very close to a binary release with similar functionality to 1.2 RC3.](http://groups.google.com/group/clojure/msg/2d40edccb55e3b30)
Mike K