3 ms·
> so long as you can live without third-party libraries that don't support AOT. Yes, and that’s a significant limitation in the Java library and framework ecos
by layer8 25d ago
> so long as you can live without third-party libraries that don't support AOT.
Yes, and that’s a significant limitation in the Java library and framework ecosystem.
- Rohansi 25d agoBut the possibility of AOT compilation is what drives libraries to support it. That's why .NET libraries are adapting over time to support AOT.
- pjmlp 24d agoEF Core and F# still don't fully work, neither do the GUI frameworks, with exception of the buggy WinUI, mostly because it is all COM/WinRT underneath.
- Rohansi 23d agoEF Core heavily relies on reflection so that's not really a surprise. F# not working surprised me but apparently the main thing is its `printf` depends on reflection. By "the GUI frameworks" I assume you mean Microsoft's GUI frameworks. They're all basically abandoned or just bad. Use Avalonia! It's better, cross-platform, and supports AOT!
- pjmlp 23d agoWell, they had enough time to refactor EF Core to use code generators. F# is improving on .NET 11, but still not fully there, as contrary to the rest of .NET, it is mostly community driven. Most Microsoft shops only consider Microsoft GUI frameworks, regardless of the great work done by Avalonia, and Uno as well. As for being bad, they surely are much better than most competitors from other ecosystems, unless we're adding Delphi, C++ Builder, Qt into the picture. I had projects with Java on the server and Microsoft GUIs on the desktop, for example. Swing and JavaFX are also quite good, however require additional programming for what Forms and WPF do out of the box, unless one is willing to pay for something like JGoodies.