ArcExplorer icon indicating copy to clipboard operation
ArcExplorer copied to clipboard

Native AOT

Open ScanMountGoat opened this issue 1 year ago • 1 comments

  • [x] publish with native AOT
  • [ ] embed SmashArcNet
  • [ ] statically link smash_arc?

This should result in smaller binaries and resource usage.

https://www.reddit.com/r/csharp/comments/18h98s6/publishing_net8_avalonia_app_with_aot_compilation/ https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/interop?wt.mc_id=studentamb_306235 https://docs.avaloniaui.net/docs/deployment/native-aot https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#native-libraries https://docs.avaloniaui.net/docs/basics/data/data-binding/compiled-bindings

ScanMountGoat avatar Feb 14 '25 16:02 ScanMountGoat

This dramatically improves startup times but has similar performance, memory usage, and executable size.

ScanMountGoat avatar Jun 16 '25 15:06 ScanMountGoat