News for hackers. Stuff that matters.
Re:Bflat – a single ahead of time crosscompiler and runtime ... by Deukhoofd on Tuesday January 03, 2023 @06:00AM (#34230044)
NativeAOT definetely can do bare metal, here's an example of a very basic EFI boot application:

https://github.com/MichalStrehovsky/zerosharp/tree/master/ef...

Re:Bflat – a single ahead of time crosscompiler and runtime ... by pjmlp on Tuesday January 03, 2023 @06:23AM (#34230202)
Except that isn't NativeAOT as it ships on the box using dotnet publish workflow, rather a curated workflow which requires special steps as shown on the efi-runtime example.

My remark was regarding the support you get with dotnet publish for NativeAOT, which by the way still doesn't support the GUI/EF scenarios from .NET Native.

Re:Bflat – a single ahead of time crosscompiler and runtime ... by MStrehovsky on Tuesday January 03, 2023 @06:48AM (#34230343)
ZeroSharp is done by the same person as bflat (me). These ZeroSharp samples get broken all the time because they bend the MSBuild targets that ship with .NET to an extreme. Bflat is a more supportable route and has a couple extra customizations to the compiler specifically for these scenarios.