Open StachuDotNet opened 2 years ago
I agree! That's definitely something we should add support for. In my estimation, most production deployments should use AOT since the additional file size isn't really much of a drawback, and the additional speed gain is definitely valuable.
No specific ETA for implementing this, though I'd certainly take a PR if you're able to figure it out. It's not easy to figure out though.
Unfortunately, I have no idea where to start here. :)
If you provide some initial pointers, I'll know if I have the background/energy to pursue it. If not, at least we can provide the future implementer some initial notes!
Could we use the AOT build steps that these guys did? : https://github.com/pavelsavara/dotnet-wasm-todo-mvc
I've successfully used this tool for Dark, yielding a single
.wasm
file - awesome!Currently,
dotnet-wasi-sdk
doesn't seem to respect theRunAOTCompilation
. Is there a way to adjust the project to respect it? Or maybe I'm incorrect in hoping for that flag to be respected here.