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

Tech

417 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 7 months ago
MODERATORS
 

It's a two minute video

you are viewing a single comment's thread
view the rest of the comments
[–] ajmaxwell 14 points 3 months ago* (last edited 3 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.

[–] [email protected] 9 points 3 months ago* (last edited 3 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.

[–] [email protected] 1 points 3 months ago

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

[–] [email protected] 4 points 3 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!

[–] [email protected] 3 points 3 months ago* (last edited 3 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.

[–] [email protected] 4 points 3 months ago

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