Skip to content

Native AOT in .NET 8 #69739

Closed
Closed

Activity

  1. transferred this issue fromdotnet/linkeron May 24, 2022
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on May 24, 2022
  3. added and removed
    untriagedNew issue has not been triaged by the area owner
    on May 24, 2022
  4. added this to the Future milestone on May 24, 2022
  5. filipnavara commented on Sep 30, 2022

    @filipnavara
    Member

    Mac x64/ARM64

    Done, CI enabled with #75421

  6. am11 commented on Sep 30, 2022

    @am11
    Member

    Musl compatibility

    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 apk add build-base zlib-dev in addition to icu-libs in a fresh VM / container to PublishAot a fully loaded mvc app.. lld is especially not a prerequisite.

  7. jkotas commented on Oct 1, 2022

    @jkotas
    Member

    note: in reality, we only need apk add build-base zlib-dev

    Fixed in dotnet/docs#31535

  8. modified the milestones: Future, 8.0.0 on Oct 18, 2022
  9. 2 remaining items

  10. ygoe commented on Nov 27, 2022

    @ygoe

    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.).

  11. MichalPetryka commented on Nov 27, 2022

    @MichalPetryka
    Contributor

    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).

  12. MichalStrehovsky commented on Nov 27, 2022

    @MichalStrehovsky
    Member

    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.

  13. agocke commented on Nov 28, 2022

    @agocke
    MemberAuthor

    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.

  14. added
    User StoryA single user-facing feature. Can be grouped under an epic.
    on Nov 29, 2022
  15. changed the title [-]Future AOT Work[/-] [+]Native AOT in .NET 8[/+] on Nov 30, 2022
  16. added
    EpicGroups multiple user stories. Can be grouped under a theme.
    and removed
    User StoryA single user-facing feature. Can be grouped under an epic.
    on Dec 5, 2022
  17. self-assigned this
    on Dec 5, 2022
  18. ziaulhasanhamim commented on Jan 26, 2023

    @ziaulhasanhamim

    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.

  19. DeafMan1983 commented on Mar 22, 2023

    @DeafMan1983

    I should use musl-g++ with native aot if yes then I can continue with musl-libc for Alpine and Void-Linux.

  20. fishkapro commented on May 8, 2023

    @fishkapro

    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

  21. agocke commented on Aug 10, 2023

    @agocke
    MemberAuthor

    .NET 8 is closing out, we'll pick new things up in .NET 9.

  22. ghost locked as resolved and limited conversation to collaborators on Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EpicGroups multiple user stories. Can be grouped under a theme.area-NativeAOT-coreclr

Type

No type

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions