News for hackers. Stuff that matters.
Re:Dart 3.4: WASM and Macros preview by hgyjnbdet on Wednesday May 15, 2024 @12:01AM (#40362968)
Whilst I can agree mostly with your last three points I don't think any company, even apple, could at this point replace JavaScript on the web. It's too ingrained. Sure there's typescript but that's not a whole sale replacement, the end result is still JavaScript.
Re:Dart 3.4: WASM and Macros preview by jimbob45 on Wednesday May 15, 2024 @02:40AM (#40363794)
Dart’s JS VM was reportedly faster than vanilla JS. It could have wholesale replaced JS if Google had really leaned into it.
Re:Dart 3.4: WASM and Macros preview by hgyjnbdet on Wednesday May 15, 2024 @03:02PM (#40370955)
Yeah but you've still got to convince everyone to rewrite all the JavaScript in it. That's a big ask even for Google with a faster VM. If they'd pushed it I would predict chrome market share taking a dive.

Personally I think they did the right thing pivoting away from trying to replace JavaScript.