Monday, June 25, 2018

Compiling to MSIL and Native code?

Is there a programming language compiler that compiles both to MSIL (.NET bytecode) and to native code. The customer wants me to write a .NET application for Windows and native applications for Linux and Mac OSX. And I want to share as much code as possible. The native code compiler should generate native standalone executables without some hard to install dependencies.

In the perfect situation I want something like Kolin (which compiles to Java bytecode as the first class platform, but also have native code backend which is called Kotlin Native).

What I found so far: 1) Haxe (compiles to C# and C++) - it may work, but has a very small standard library. 2) RemObject Oxygen (compiles to MSIL and native code) - cool take on Pascal language family, but not free and not opensource. 3) F* (compiles to F# and OCaml) - seems to be interesting language with a lot of features I don't think I need.

What other options do I have?

Compiling to MSIL and Native code? Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team