问题描述
我有兴趣调查CLR上的Clojure。我看到有一个 - 但我总是有点这些第二 - 类公民(即他们没有原始的稳定性或功能)。我不太愿意花很多时间在这一点如果一般人发现Clojure在CLR不成熟 - 我根本没有时间或精力,在这一点上打一大堆问题。另一方面,如果CLR上的Clojure看起来很好,我今天就开始潜水吧!
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!
有没有任何真实世界的CLR经验?
Has anyone real-world experience with Clojure on the CLR?
也欢迎任何建议和/或其他帮助开始使用CLR版本。
Any advice and/or other help getting started with the CLR version would be appreciated too.
推荐答案
在工作中,我们有大量的遗留.NET代码,所以我一直在使用ClojureCLR一个很好的调试,以检查个别组件的健全性。你能去到REPL吗?它绝对不像Java版本那么直接,但是在github上的文档是非常有用的。有一件事是痛苦的是缺乏泛型。你必须在自己的攻击,但这不是世界上最难的事情。我实际上是写一篇博客文章关于ClojureCLR互操作和泛型的意思。这可能是推动我这样做的动力。
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.
编辑:终于下了我的屁股,并做了...
finally got off my ass and did it...http://www.jierenchen.com/2010/08/clojureclr.html
编辑2:新连结
这篇关于Clojure在CLR上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!