-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native AOT in .NET 8 #69739
Comments
Tagging subscribers to this area: @dotnet/area-meta Issue DetailsUnordered list of things that we'd like to add for NativeAOT:
|
Done, CI enabled with #75421 |
This works with .NET 7. We even have docs listing Alpine Linux prerequisites: https://github.com/dotnet/docs/blob/main/docs/core/deploying/native-aot/index.md#prerequisites. note: in reality, we only need |
Addressed feedback from dotnet/runtime#69739 (comment)
Fixed in dotnet/docs#31535 |
Addressed feedback from dotnet/runtime#69739 (comment) Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
Are there plans to support the arm32 (armhf) architecture? This is relevant for most Raspberry Pi environments that are not using the newest 64-bit OS or older hardware (before RPi 3). Armbian also does not seem to offer 64-bit images yet (for other devices like NanoPi, Orange Pi etc.). |
There are plans to remove ARM32 support from CoreCLR in .Net 9 (and NativeAOT uses that for codegen). |
That said, we would still accept community contributions towards ARM32-Linux. It used to work at some point and it's probably not too far from working. No matter the resolution of the ARM32 .NET 9 discussion, for .NET 8 we'll still have all the infrastructure for Linux-ARM32 release and testing in place and we can run the port in the CI. |
Also, as that issue mentions, that would be dropping Microsoft-maintained support. If community members would be willing to maintain support, that is up for discussion. |
I think till now the biggest performance problem with Native AOT is for reflection because ASP.NET CORE and EF Core-like frameworks are based on reflection. A nice possible way to solve many of these problems (not all) would be adding Rust-like macros in C#. Macros can do most of the important things that reflection does in compile time. In rust, all dynamic frameworks rely on it. |
I should use |
Will com\wmi be added? Are there any ways to work with wmi now? Either the ability to use Microsoft.Management.Infrastructure or System.Management |
.NET 8 is closing out, we'll pick new things up in .NET 9. |
The text was updated successfully, but these errors were encountered: