Open KevinVitale opened 8 months ago
Unfortunately it's a typical size of wasm binary produced from Swift today. There are several known inefficiencies in the toolchain due and we are hardly working on improving it. You might be able to find some useful resources in https://github.com/swiftwasm/swift/issues/7
The upcoming Embedded Swift features will allow much of the overhead (reflection, unused code, etc.) to be stripped out of WASM builds, but that is still in early development.
Description
Long-time Swift dev here, dipping into this WASM project for the first time. This Swift file prints "Hello, WASM":
The file generated is 6MB+:
Questions