Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NativeAOT-LLVM] Enable bulk memory by default and as a baseline #2628

Open
SingleAccretion opened this issue Jul 3, 2024 · 0 comments
Open
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)

Comments

@SingleAccretion
Copy link

Zeroing memory (for the GC) is the biggest contributor to startup in a hello world app. We should unconditionally enable bulk memory to mitigate this.

Note that this implies enabling it for the native runtime binaries, although we should of course also enable it for code compiled with ILC. Since we do not want to ship multiple kinds of runtime binaries, any option enabled in this manner becomes a hard requirement - which is ok for bulk memory as it is pretty widely supported.

To ensure there is a single source of truth for all code (runtime and compiler-produced), there should be a central list of compilation options like this, which is then read in by both the CMake scripts and build integration targets.

@jkotas jkotas added the area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly) label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-LLVM LLVM generation for Native AOT compilation (including Web Assembly)
Projects
None yet
Development

No branches or pull requests

2 participants