Pre-compile wasm SDK #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the wasm-side SDK and the stdlib shim are built with each orca app. We can instead pre-compile them a .bc object file when building the runtime, and only pass the object file to clang when building apps.
@bvisness assigned you because it's best tackled as part of the build story
Martin and I discussed on Monday that we won't do this for now. We don't expect the Orca runtime to be a big contributor to build times right now, and we think we will always want to distribute the source anyway since it might give a better in-editor experience and people are already comfortable including C source files in their compiler workflows.
We can still provide a .bc file eventually, and perhaps even other ways of including the C source that are easier to include. But that can all happen after the jam, probably, so removing the Jam MVP milestone.