Replies: 5 comments
-
Both the .NET Framework on Windows and .NET Core use a single-tier JIT (see RyuJIT Tutorial and dotnet/coreclr#4331), so technically the current code is almost always compiled to native code before executing. While this is of course not what you meant, it doesn't seem like an irrelevant answer. Many teams, both at Microsoft and external, have been working for a long time on improving the performance of .NET (including cases where C# code is the source) for real-world applications. Simply changing the point where C# code is converted to machine code will not necessarily improve an application. To give a better answer to your question, it would help greatly to understand the type of application involved and the reason why the current approaches are resulting in less-than-desired performance. |
Beta Was this translation helpful? Give feedback.
-
You may be interested in dotnet/corert.
|
Beta Was this translation helpful? Give feedback.
-
Also crossgen https://github.com/dotnet/coreclr/blob/master/Documentation/building/crossgen.md Doesn't make small native exes/dlls though |
Beta Was this translation helpful? Give feedback.
-
What's the difference between the two tools mentioned? Their goal looks similar at first glance. |
Beta Was this translation helpful? Give feedback.
-
Any language can be compiled to any other language, provided the target language is at least as computationally powerful as the source language. Since most modern mainstream CPU ISAs are Turing-complete, this means that any language can be natively compiled, including C♯.
It could be compiled into native code right now, and it always has and always will.
Sure. The only thing that we need is that someone needs to write a compiler that does that. The reason why we don't have a native implementation of C♯ yet is because there are too many people asking why we don't have a native implementation of C♯ yet and too few people writing a native implementation of C♯. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
the Kotlin Native progress is very fast(quickly).
now its 0.4 version. support windows platform begin v0.3
and ppl can Write some program by it and,
run it on some platform with out any burden。
but almost all .net(C#) native project Not activily or Dead.
Can we also expect ?
Beta Was this translation helpful? Give feedback.
All reactions