Future NativeAOT work
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
**NOTE: this is very incomplete, am just starting to chart out future work here**
Substantial work was done in EF 9, see #29754.
# Query
* [ ] #32727 (@roji)
* Figure out what to do with type mappings in precompiled queries, e.g. can we preserve the source model properties in the query tree, so that we can generate code to get them out of the model?
* [ ] #33541
* [ ] #29759
* [ ] #29760
* [ ] #32734
* [ ] #27437
* [x] #34559
# Compiled model size/perf
Our current compiled model is very big (#33483), causing the application to be both big in terms of code size (especially for AOT), and also to start up slowly (the main cause is probably that all that code needs to be JITted, but even in AOT this should have a non-trivial impact).
* [ ] #34440
* [ ] https://github.com/dotnet/efcore/issues/35985
* [ ] https://github.com/dotnet/efcore/issues/37750
* Possibly experiment with non-code-based approaches to the compiled model, e.g. use some serialization format instead, such as MsgPack or similar. This would require another approach for making sure that dynamically used types and members are not trimmed away.
# Size reduction
* #24901
* #34445
* #32923
* #33901
# Tooling
* https://github.com/dotnet/efcore/issues/33478
* #33866
* #27203
* #34473
# Possibly out of scope
* [ ] Tooling improvements
* [ ] #31332
* [ ] #34188
* [ ] #34550
* [ ] #33418
* [ ] #29858
* [ ] #29764
* [ ] #29763
* [ ] #21894
* [ ] #33766
* [ ] Improvements to SQL generation ([#29753](https://github.com/dotnet/efcore/issues/29753)):
* [ ] #33516
* [ ] #33508
* [ ] #33509
* [ ] #33515
* [ ] #33639
* [ ] #33909
Contributor guide
Assessment
This issue has not been assessed yet.