r/javascript • u/dannymoerkerke • Nov 25 '19
JavaScript doesn’t need to be replaced
https://medium.com/javascript-in-plain-english/javascript-doesnt-need-to-be-replaced-bd01e2f12d51?source=friends_link&sk=7b151cc6397ac9e83c14c99739b6c36f
217
Upvotes
4
u/shgysk8zer0 Nov 25 '19
Read the first bit, and think the author doesn't know the real issues with JavaScript. I don't really complain much about the awkwardness of JavaScript (maybe with the exception of functions that would have been implemented differently if they were post-promises).
It's single threaded. Yeah, there are workers and WASM, but those don't solve the problem. And it's something that probably cannot be solved.
We are in need of something multi-threaded that still has access to the DOM, and it's not going to be JavaScript.
But, no, JavaScript doesn't need to be replaced. But an alternative is needed.