Clojure on the CLR

后端 未结 3 1371
天命终不由人
天命终不由人 2020-12-23 09:10

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 stabil

3条回答
  •  甜味超标
    2020-12-23 10:02

    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

    Edit 2: new link http://theotherjchen.blogspot.com/2010/08/clojureclr.html

提交回复
热议问题