Why doesn't Sun do a C# to Java byte code compiler?

后端 未结 18 1873
清酒与你
清酒与你 2021-02-01 01:20

We Want to Run Our C# Code on the JVM

My company has a large C# code base. Well over half of this code is our core engine for creating, reading, modifying, calculating

18条回答
  •  再見小時候
    2021-02-01 01:49

    I made a comment that should really have been an answer:

    It is just not technically possible at this point to implement the C# spec on the JVM. C# supports pointers, unsigned types, user defined value types, true generics, passing by reference, and loads of other things. For a very C#-like JVM language, check out Stab.

    Mainsoft fakes it. I am sure it takes enormous effort on their part.

提交回复
热议问题