Can you explain why you would need both Typescript and Rust for a WebAssembly project? Either AssemblyScript or Rust can compile to WebAssembly, I would just choose one.
I am not sure did I understand your question, but I will try to answer. Why:
You want to create a wasm package in Rust but the rest of the project is created in TypeScript + WebComponents / React (maybe you want to learn a new language and try it in the web)
You need a language which is very very safe
You want to create a functionality which will be available to compute by user (at frontend) but can be also run on a clod (server side) and you need high-performance
This post is not about: "Use Rust and WebAssembly over Vanilla JS in any case to boost your app performance" because it doesn't work like that. I just wanted to show how to combine these technologies so that they are pleasant to work with.
Have I answered your question?
I am a software engineer with a passion for computer graphics. I have experience in working with a diverse range of technology stacks ranging from front-end frameworks to deep neural networks.
Location
Alesund, Norway
Education
MSc. in Simulation & Visualization, B. Tech. in Computer Science
Can you explain why you would need both Typescript and Rust for a WebAssembly project? Either AssemblyScript or Rust can compile to WebAssembly, I would just choose one.
I am not sure did I understand your question, but I will try to answer. Why:
This post is not about: "Use Rust and WebAssembly over Vanilla JS in any case to boost your app performance" because it doesn't work like that. I just wanted to show how to combine these technologies so that they are pleasant to work with.
Have I answered your question?
Planning to write react code in Rust?? A really strange question.