Skip to content

NativeAOT compared with GraalVM/LLVM missing features. Any plans for them? #117454

Answered by huoyaoyuan
ciplogic asked this question in Ideas
Discussion options

You must be logged in to vote
  • Class Hierarchy Analysis: you can always devirtualize interfaces implemented once. It should be definitely working better with a closed world assumption. This sounds to me like a simple free optimization as it will allow more opportunities for inliner

This was implemented in the very early development of NativeAOT. There are improvement PRs like #97867.

  • Greedy Register Allocator or alike.

This is not a NativeAOT topic. It uses the same codegen and register allocator with JIT. Improvements in each area are always welcomed.

  • Auto-Vectorization at least for simple loops.

This is very costful optimization with unknown benefit. In .NET we prefer to expose SIMD build blocks to simpli…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ciplogic
Comment options

@huoyaoyuan
Comment options

Answer selected by ciplogic
Comment options

You must be logged in to vote
1 reply
@ciplogic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants