this post was submitted on 02 Apr 2024
143 points (98.6% liked)

Programming

16946 readers
555 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 5 months ago (2 children)

Based solely on gut feel, I think Typescript will become less popular as Wasm grows

[–] [email protected] 14 points 5 months ago* (last edited 5 months ago) (3 children)

When will Wasm grow, according to your gut? I feel like I've been waiting for a decade now.

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago) (1 children)

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

[–] [email protected] 12 points 5 months ago

Great, but can you access the DOM?

[–] [email protected] 4 points 5 months ago

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.

[–] [email protected] 1 points 5 months ago

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.

[–] silasmariner 1 points 5 months ago

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))).