NativeAOT for Pororoca Desktop
alexandrehtrb opened this issue · comments
It would be great if Pororoca Desktop could be published with NativeAOT, as it would mean smaller executable size and lower memory usage.
Avalonia supports NativeAOT and a sample project can be found here:
https://github.com/lixinyang123/AvaloniaAOT
Most of the work to make NativeAOT possible has already been done: all bindings are CompiledBinding. But needs work with JSON serialization and deserialization with NativeAOT.
Update (2023-11-27): problems found with trimming, importing OpenAPI stops importing request body examples. Needs to work on JSON warnings too