I just wish WASM could replace JS rather than merely augment it for non-DOM work.
Comment on Which side are you? Javascript or Typescript
turbodrooler@lemmy.world 1 year ago
Me: 2024 is finally going to be the year of WASM, boys!
zagaberoo@lemmy.sdf.org 1 year ago
Knusper@feddit.de 1 year ago
You can have frameworks which fully generate the JS DOM code for you, allowing you to write complete single-page applications without writing a single line of JS.
float@feddit.de 1 year ago
I’m using the leptos framework (Rust) and really like it so far. Not a single line of JS, not even npm as a dependency in that project.
Knusper@feddit.de 1 year ago
Yep, that’s the framework, I’m using, too. But most frameworks in the Rust ecosystem can do DOM interop, as the heavy lifting for that is provided by the
wasm-bindgen
library.
severien@lemmy.world 1 year ago
Unpopular opinion: I hope it’s going to be a flop. The limitation of having just JavaScript ensures level of interoperability which is IMHO one of the big advantages of web as an application platform. If WASM becomes successful, it will fragment the web.
turbodrooler@lemmy.world 1 year ago
I definitely feel you. Not sure WASM is the answer, but it’s still neat.
iegod@lemm.ee 1 year ago
And then there’s me, missing flash :(
Flash and AS3 was so much fun to work in. I completely understand why the industry moved away from it but even today we have yet to fully catch up to all the media animation and programmatic features it provided all in one. RIP.
turbodrooler@lemmy.world 1 year ago
I still have a hobby website with an AS flash animation on it that I don’t have the heart to get rid of. It was so cool.
ICastFist@programming.dev 1 year ago
Have you tried porting it to Haxe? It’s what I found whose selling point was “programming for those that know AS3”
turbodrooler@lemmy.world 1 year ago
Thanks, I will look into that
qaz@lemmy.world 1 year ago
You could use something like Ruffle. Newgrounds also uses it to allow people to run old flash games.
turbodrooler@lemmy.world 1 year ago
Thanks, will check it out
MajorHavoc@lemmy.world 1 year ago
That’s awesome.
But I’m picturing you keeping a retro computer to load it on and enjoy it.
ShortFuse@lemmy.world 1 year ago
Starfield has a bunch of AS3 and Flash files. I’ve been hacking it all week.
And, uh, I use vanilla JavaScript with Typescript checking over JSDocs.