Ngen on Linux status


#1

I was wondering if ngen will be available on Linux for .Net Core. I know that under mono the equivalent is called AOT but if I am to target .Net Core, how can I generate a native image.

I want to minimize the impact of jitting code. Is .Net Native planned to be supported on Linux?


#2

Yes, native image generation is going to available for both Windows and Linux. The first step is to enable CMake-based build of crossgen.exe tool – tracked by https://github.com/dotnet/coreclr/issues/227. Also check https://github.com/dotnet/coreclr/issues/159 for a related discussion.


#3

Nice and thanks for the quick response.


.NET Foundation Website | Blog | Projects | Code of Conduct