Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add content on WASM #77

Open
hdoordt opened this issue Jul 3, 2023 · 8 comments
Open

Add content on WASM #77

hdoordt opened this issue Jul 3, 2023 · 8 comments

Comments

@hdoordt
Copy link
Member

hdoordt commented Jul 3, 2023

Add content on Web Assembly

  • Running in the browser
  • As an extension
  • Various runtimes
  • Sandboxing
  • Current state of the art concerning Wasm Interface Types

Best would be to contribute it directly to the restructure branch while it's still unmerged. There's a file on that branch where the content could be added: https://github.com/tweedegolf/101-rs/blob/restructure/slides/D-rust-for-web/wasm.md

@greenpdx
Copy link

greenpdx commented Dec 6, 2024

I have been doing much work with RUST and wasm-bindgen

@hdoordt
Copy link
Member Author

hdoordt commented Dec 6, 2024

@greenpdx would you like to work on this?

@greenpdx
Copy link

greenpdx commented Dec 6, 2024

I am using it in VueJS and running it in a browser I need to due two separate builds
npm run wasm // to build the WASM pkg
npm run dev

What would I have to do?
I would need a few pointer to address the what the course would be about.

@hdoordt
Copy link
Member Author

hdoordt commented Dec 6, 2024

Well, the way I go about it usually is come up with a number of learning objectives, keeping in mind the target audience, which generally is university CS students.

Next, come up with a list of topics that may be of interest, and check whether they really fit the target audience and learning objectives. With that, you can already start creating content.

If you need any more specific guidance, please feel free to reach out in our Matrix channel: https://matrix.to/#/#teach-rs:matrix.org

@greenpdx
Copy link

greenpdx commented Dec 7, 2024

I created a template / repo that sets up the a project for running WASM in a browser.
I plan to build on this.
https://github.com/greenpdx/template-vanilla-ts-wasm

@hdoordt
Copy link
Member Author

hdoordt commented Dec 8, 2024

That looks really cool! Could form the basis of a number of exercises on WASM. Let's ensure the focus stays at Rust, and avoid requiring prior knowledge about Vue, though.

@greenpdx
Copy link

greenpdx commented Dec 8, 2024 via email

@greenpdx
Copy link

greenpdx commented Dec 9, 2024

Look at it now, I added 3D, in the threeD branch
https://github.com/greenpdx/template-vanilla-ts-wasm

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

No branches or pull requests

2 participants