Detecting lisp family .NET language implementations

So, basically, I am not comparing Schema with Clojure here, I want to compare implementations. There is:

Clojure -clr, which can be installed even using the Visual Studio extension, but for me it would still be incorrect to use it that way. After creating and saving such a project, you cannot open it again ...

And IronScheme, there is still no VS addin for IronScheme, but it may have received better .NET support. I have never used it and cannot know about it.

So, which of the two (or maybe there is something else with lisp syntax-like) got better CLR support?

+6
source share
2 answers

I already answered about VS in the comment.

In terms of .NET compatibility, IronScheme is probably better because it is designed and written in .NET and liberal reuse of existing .NET types.

As for the .NET consumer, IronScheme provides excellent support for most .NET features (such as generics, etc.).

As for the .NET maker, IronScheme is still missing. For example, you cannot create generic methods or classes. Typed fields (by records) were introduced only recently, and even this limits a little (there is no support for the definition of a mutual recursive type).

An example of what the following means:

class Foo { Bar bar; } class Bar { Foo foo; } 

To create something like this is currently impossible, but something that can be done (to some extent).

With some events, by the end of last year (2011) I allowed writing code in IronScheme, which works just as fast (or even faster) than in C #. The output of the IL code method exactly matches F # (by pure coincidence). I didn’t even bother to jump against IronPython / IronRuby. :)

Feel free to ask more if necessary.

In addition, there may be some informative discussions on the Codeplex bulletin board for IronScheme. I usually respond very quickly.

+4
source

Recently there has been a lot of activity on VsClojure , and an update will soon appear that will help solve many of the problems that you run. Also, regarding the specific problem that you encounter when opening a project, if you first start Visual Studio, and then open the solution / project, it should work. It just does not work from the shell. Here are some blogs that can help you get started:

http://clojureclr.blogspot.com/
http://www.myclojureadventure.com/
http://clrviaclojure.blogspot.com/

+1
source

Source: https://habr.com/ru/post/906916/


All Articles