this post was submitted on 05 Jun 2024
80 points (94.4% liked)

Tech

464 readers
1 users here now

A community for high quality news and discussion around technological advancements and changes

Things that fit:

Things that don't fit

Community Wiki

founded 9 months ago
MODERATORS
 

It's a two minute video

you are viewing a single comment's thread
view the rest of the comments
[–] ajmaxwell@lemmy.world 15 points 5 months ago* (last edited 5 months ago) (3 children)

He also wrote the best book for JavaScript, JavaScript: The Good Parts.

JS is pretty bad, but it's so ubiquitous now that I don't know if anyone can create a replacement with enough traction for one of the big browsers to start supporting it.

[–] wander1236@sh.itjust.works 9 points 5 months ago* (last edited 5 months ago) (1 children)

Web assembly is catching on, which can theoretically be compiled from any language.

It's not exactly the same, since you're not dealing with the classic Layout+Style+Behavior model of HTML, CSS, and JS, but it's becoming pretty powerful and a few UI frameworks already support it.

[–] sabreW4K3@lazysoci.al 1 points 5 months ago

Are there any big projects that are switching JavaScript for Web Assembly?

[–] gianni@lemmy.ca 4 points 5 months ago

It will happen eventually. Look at FORTRAN, or COBOL, or BASIC, or Pascal, or even Objective-C.

[–] qjkxbmwvz@startrek.website 4 points 5 months ago (1 children)

I think it'd be possible to create a replacement, assuming you're a large company that ships your own browser (not naming names...). If you have enough market share/"killer apps" then it might be adopted (maybe?).

Now, ditching JS is a whole nother ballgame, and yeah, I don't see that happening any time soon!

[–] sjpwarren@programming.dev 3 points 5 months ago* (last edited 5 months ago)

One of them tried it, they had a Monopoly and tried to push their Basic (not naming names) but it didn't take off. I can't believe I am saying this but I kinda wish it had worked.