#1505 Setting .NET version

giorgil Sat 23 Apr 2011

Hello, How can I link the installed fantom to a particular version of .NET (Win7, v4.0.30319)? Does it require recompilation?

Thank you in advance. Giorgi

brian Sun 24 Apr 2011

The version isn't configurable right now it appears (which isn't too great since its configured to use v2). You need to recompile launcher/build.bat and change dotnet.cpp. I will take a look for enhancing that. Although be aware that .NET is more of a prototype compared to JVM and JS support.

andy Sun 24 Apr 2011

v2 is the CLR version which was used up thru 3.5 - quick google search looks like the CLR got a version bump for 4+ - so yeah you'll need to recompile the launcher code.

giorgil Mon 25 Apr 2011

Thank you very much.

Although be aware that .NET is more of a prototype

Is this kind of a strategy? It is important to know in advance. I am preparing to use fantom for scientific computing (chemoinformatics). If .NET is a by-product then it does not make sense to re-implement java libs in fantom for achieving cross-vm compatibility. I'd better directly use them from within fantom.

brian Mon 25 Apr 2011

Is this kind of a strategy?

I guess you could call it a strategy. The focus for the core team is support for JVM and JS which we use in our commercial products. While I would love to also provide first class support for .NET too, we just don't have the bandwidth. We maintain the basic runtime as proof of concept, but until an active community develops around .NET support I would not recommend .NET for production code.

Login or Signup to reply.