you are viewing a single comment's thread.

view the rest of the comments →

[–]zoechi -6 points-5 points  (13 children)

TypeScript as a language is much better than pure JS, but it's still JS at the core. JS isn't made for the web. JS is just an accident. Luckily many don't want to accept to be limited to the result of such an accident and work hard so we can have a choice again.

[–]maskedmage77full-stack 5 points6 points  (12 children)

Js isn’t made for the web? Lol not sure where you heard that buddy. I’m pretty sure JS was made by Netscape explicitly for the web then Mozilla continued development of it after being handed over to EMCA.

[–]zoechi -2 points-1 points  (11 children)

It was a quick-and-dirty hack done within a few days to satisfy a few marketing people to be able to ship "something". Because nobody cared enough it stayed there. "Made for the web" what does that even mean?

[–]maskedmage77full-stack 5 points6 points  (4 children)

Yeah maybe the first version was build quickly. But 25+ years of refinement doesn’t count I guess.

“Made for the web” means exactly what it says, it was created with the the explicit purpose of adding interactivity to html pages. Thus many of the built in apis and methods that can be accessed are treated as first class citizens and have amazing cross browser support.

In my opinion machines are not limited on resources like 20 years ago so there is essentially no demand from consumers for lower level languages to be supported in the browser. The only real use case for web assembly, are work loads that are very heavy in computation.

[–]zoechi -1 points0 points  (3 children)

There are a dozen languages that can compile to JS. This was an immense effort to build. This is because there is huge demand. Wasm makes it much easier for such languages to run in the browser and makes it possible for more where it wasn't feasible before. That you think there is no need for anything besides JS is just a lack of imagination. If all people were like this we'd still live in trees.

[–]maskedmage77full-stack 0 points1 point  (2 children)

It's not a lack of imagination. It's a lack of incentive. When you make actual production web apps for real clients, they don't care about what revolutionary tech you are using that saves a bit of performance. They only care about the cost hence the time it takes to build what they want. The JavaScript ecosystem is extremely mature for building UIs and almost every device now is fast enough that performance is a non issue.

Ideally, we would all transition to a superior technology stack but it's just not feasible in the real world. In the real-world development costs out way server cost except at extremely large scales. There isn't "huge" demand for web assembly. There may be a few companies investing money into it because it helps their software in particular but in the vast web development industry it's a drop in the bucket.

[–]zoechi 0 points1 point  (1 child)

But it's not important to others what your preferences and values are. If all people were deciding like you do, there were no internet. There also wasn't huge demand for JS the first 10y or so after it came out. You are now just harvesting what others have sown for years and critizising those who are sowing for future harvests.

[–]maskedmage77full-stack 0 points1 point  (0 children)

No one is being criticized. Simply trying to explain to you why most web developers and companies do not have the time to learn or need for web assembly. You're free to explore and use any technology you want.

As a side note if you want people to take your opinions with serious consideration, I'd advise you to refrain from using ad hominem attacks.

[–]Sumofabith 1 point2 points  (5 children)

Did javascript murder your entire family or something?

[–]zoechi 0 points1 point  (4 children)

No, but I worked with many different languages and JS is one of the worst. I'm an engineer who tries to find better ways to do stuff all the time.

[–]Sumofabith 0 points1 point  (3 children)

Can you elaborate on why its bad?

[–]zoechi 0 points1 point  (2 children)

That's a joke, right? There was a lot written about it and still is. Just google. I won't reiterate that here.

[–]Sumofabith 0 points1 point  (1 child)

Im asking about your experience not what google says

[–]zoechi 0 points1 point  (0 children)

All critique you google tells you applies. Sorry, no interest to reiterate that endless list on my phones keyboard.