Skip to content

Conversation

@cdata
Copy link
Contributor

@cdata cdata commented May 13, 2024

This change proposes a candidate code workspace layout, with considerations for both Rust and TypeScript language toolchains.

I started with the goal of showing how a TypeScript workspace might look using wireit. However, I was also reading about various code isolation topics at the time, and I was sniped by the current state of Wasm Components. In a fit of inspiration, I added a Rust package to the mix and showed how it can be run as a native binary or compiled as a Wasm Component and run in Deno and also the web.

Check out ./scripts/component-demo.sh to see the whole thing in action!

A lot of this was thrown together in haste, so please do not consider anything "finished" or "polished" or anything to that effect. Do note that most of the "changed lines" are in the lock files, though.

@cdata cdata force-pushed the feat/scaffold-workspace branch 3 times, most recently from 7433116 to 9d140df Compare May 13, 2024 06:43
@cdata cdata force-pushed the feat/scaffold-workspace branch from 9d140df to b4a1fd5 Compare May 13, 2024 06:44
Copy link
Contributor

@gordonbrander gordonbrander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🥳 🚢

@cdata cdata merged commit f3e4964 into main May 13, 2024
@cdata cdata deleted the feat/scaffold-workspace branch May 13, 2024 23:37
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

Successfully merging this pull request may close these issues.

3 participants