Pre-compile wasm SDK #2

Open
opened 2023-06-26 09:39:35 +00:00 by MartinFouilleul · 2 comments
Collaborator

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.

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 added this to the Jam MVP milestone 2023-07-04 21:25:36 +00:00
bvisness was assigned by MartinFouilleul 2023-07-06 13:18:24 +00:00
Author
Collaborator

@bvisness assigned you because it's best tackled as part of the build story

@bvisness assigned you because it's best tackled as part of the build story
Owner

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.

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.
bvisness removed this from the Jam MVP milestone 2023-08-23 02:48:15 +00:00
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#2
No description provided.