I was talking to my manager the other day, discussing the languages we are using at $dayjob. He kind of offhandedly said that he thinks TypeScript is a temporary fad and soon everything will go back to using JavaScript. He doesn’t like that it’s made by Microsoft either.
I’m not a frontend developer so I don’t really know, but my general impression is that everything is moving more and more towards TypeScript, not away from it. But maybe I’m wrong?
Does anyone who actually works with TypeScript have any impression about this?
Based solely on gut feel, I think Typescript will become less popular as Wasm grows
When will Wasm grow, according to your gut? I feel like I’ve been waiting for a decade now.
WASM made huge strides last year. You can run entire operating systems inside a WASM hypervisor now, and lots of packaging and transpiling projects came of age last year.
Example: https://copy.sh/v86/?profile=windows98
Great, but can you access the DOM?
By saying gut feeling I hope I am being clear I have zero tangible evidence? 😅
Maybe over the next decade its usage will grow? Or maybe it will end up relegated to performance critical applications, or JS/TS just end up with the same/better performance anyway.
The next step is to implement things like this:
https://github.com/WebAssembly/tool-conventions/blob/main/Coredump.md
After that, all we need is a rich ecosystem of libraries in other languages. It’s still a fair way off, but it’s coming.
I think you’ve got a point here, in that the sort of Devs who want to be able to refactor their code without breaking everything are also going to be the group who lean more into having code that actually runs quite fast; but given that reasonML is awesome and didn’t get much mindshare my position here is that wasm will only start to eat into tyspecript’s lunch well after a huge subset of TS can be compiled to wasm (or maybe python ((I blame the xkcd guy for python’s unreasonable popularity, I feel it’s hugely overrated))).