this post was submitted on 02 Apr 2024
143 points (98.6% liked)
Programming
17351 readers
339 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 !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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))).