Is TypeScript + Rust a good stack?

124 points alex_sakuta

Currently, I only work in TypeScript but I am very fond of learning low level optimizations and working in more type safe languages rather than using high level languages.

I will be learning rust regardless of any comments, but I was curious, what is the general opinion regarding this?

Using Typescript for frontend (before anyone says just use javascript, I don't want to) and Rust for backend?

What I'm assuming would work is:

  • Rust backend and Typescript frontend.
  • Rust everything and TypeScript integration to frontend for the rust application compiled using wasm.

I just don't wanna use js or look at a js file.

I understand it will also require the knowledge and use of wasm, correct?

Thoughts please.

Edit:

Asking for personal learning and not for any special project.