DEV Community

Discussion on: DISCUSS: JavaScript just DIED! What language should replace it?

Collapse
 
bezpowell profile image
BezPowell

I think the best answer to this would be web assembly. Being a compilation target, it allows you to work with your favourite language and brings the performance advantages of pre-compiled code and static typing to the web. There's some features like DOM manipulation that aren't there yet, but (I believe) are being worked on. Many browsers already support it, so replacing js overnight wouldn't be such a huge problem.

I love programming in Rust, and my next project is to learn about web assembly. Very much looking forward to replacing js for some of my web code.

Collapse
 
thalitadev profile image
Thalita G.

I've been quite interested in Rust as well! It definitely sounds like a great candidate to replace JS!

It's true that WASM has gone a long way, but within WASM there are quite a few language options, so I wondered which one people would consider the best choice to take JS's throne. :) Rust definitely sounds like a great one for that!