DEV Community

Discussion on: Javascript needs competition on the front end. Thoughts?

Collapse
 
bgadrian profile image
Adrian B.G.

Transcompiling from another language to JS is not competition (in my view), is like JS on mobile, low performance, missing features, headaches.

A new language to be adopted native by the browsers ... most likely will not exists (because of the conflicting browser vendors, it's hard to agree on one).

WebAssembly is enlarging the ecosystem, you can use the power of compiled languages, but it is not competition, they are limited in what they can do.

Flash is dead, Microsoft and Google tried to add a competitor and failed.

Time will tell.

Collapse
 
blackcat_dev profile image
Sasha Blagojevic

I think the best thing for web dev, which would bring us web 3.0, would be for browsers to adopt an additional language natively, or at least to open the API for third parties to do it somehow.

Collapse
 
bgadrian profile image
Adrian B.G.

I don't see any good reason to do that, really, but the downsides are immense. It will fragment the market and all the projects/teams.

Devs will jump from one to another like mobile devs do from iOS to Android.
Each library must be implemented twice, each developer must learn 2 languages and 2 x avg(frameworks) count.
Just see what happens now with Android (3-4 ways to make JS apps, Java, Kotlin, C++ and now Dart/Flutter). Multiply that with the web complexity (tools, APIs, frameworks, paradigms, nodeJS, ...).

So I hope not, the web is already a complex ecosystem, with 1 language.
All other industries jumped to JS, not viceversa. You can write neural networks and block chains in JS, browsers didn't adopted solidity or python.

I guess the API you are talking about is the WebAssembly, you can use any language, presuming you can compile it to the standard.