Sort:  

Great start to this tutorial, @tensor. Looking forward to studying more of your lessons in this series.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Thank you.

I personally though it was a bit of a rough start but I am glad it seems to have worked out.

Hey @tensor
Thanks for contributing on Utopian.
Congratulations! Your contribution was Staff Picked to receive a maximum vote for the video-tutorials category on Utopian for being of significant value to the project and the open source community.

We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Thank you for providing source code. It will help me a lot.

I always provide source code.

Thank you for covering tutorials about WebAssembly and Rust, this will help Developer interested in WebAssembly to build their own wasm npm package (using wasm-pack). From what I know Rust std library doesn't yet support compiling to target wasm32 and embedded. Regarding that, I'm curious if:

  1. is it possible to create a monorepo project purely in Rust using wasm-bindgen that can be compiled targeting wasm32 and x86_64?
  2. can I create WebComponent purely in Rust using wasm-bindgen?

Firstly, the standard library will compile to Wasm32 for the most part. There are a few small features that do not work (pointers for instance) but you can include any of the libraries in the core of rust in your wasm project with bindgen. (You can also include many of the 3rd party libraries as well.)

  1. You can create a monorepo with bindgen and not reference any JS functions.

  2. From what I know you can't fully make a webcomponent in wasm-bindgen, but there are alternatives that do allow for this.