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

AOT Compatibility #293

Open
andrewmd5 opened this issue Jan 7, 2024 · 1 comment
Open

AOT Compatibility #293

andrewmd5 opened this issue Jan 7, 2024 · 1 comment

Comments

@andrewmd5
Copy link

andrewmd5 commented Jan 7, 2024

I'd like to suggest some improvements to make wasmtime-dotnet more AOT friendly. I'm thinking along the lines of enabling static linking against wasmtime, which could really improve scenarios where the C# assembly is AOT compiled.. More details about .NET's native AOT and how it interops with native code can be found here: Native AOT with .NET.

Why This Matters:

AOT offers significant performance improvements and having wasmtime-dotnet support this more seamlessly would be a huge win. It could enhance the library's usability in high-performance scenarios.

Suggested Changes:

  • Enable static linking in wasmtime-dotnet.
  • Ensure compatibility with .NET AOT binaries.

I'm happy to implement the necessary changes myself if it is something that will be accepted.

@peterhuene
Copy link
Member

Hi @andrewmd5, thanks very much for the informational request!

I definitely think this would be something we would accept, but I'm not entirely sure what the work entails. Is it mostly just a different way of building the project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants