this post was submitted on 08 Sep 2023
526 points (94.0% liked)

Programmer Humor

22262 readers
582 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 2 years ago (3 children)

Me: 2024 is finally going to be the year of WASM, boys!

[–] [email protected] 13 points 2 years ago (2 children)

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.

[–] [email protected] 6 points 2 years ago (3 children)

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.

[–] [email protected] 5 points 2 years ago (1 children)

Have you tried porting it to Haxe? It's what I found whose selling point was "programming for those that know AS3"

[–] [email protected] 3 points 2 years ago

Thanks, I will look into that

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (1 children)

You could use something like Ruffle. Newgrounds also uses it to allow people to play flash games.

[–] [email protected] 2 points 2 years ago

Thanks, will check it out

[–] [email protected] 2 points 2 years ago

That's awesome.

But I'm picturing you keeping a retro computer to load it on and enjoy it.

[–] [email protected] 2 points 2 years ago* (last edited 2 years 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 via JSDocs.

[–] [email protected] 9 points 2 years ago (1 children)

I just wish WASM could replace JS rather than merely augment it for non-DOM work.

[–] [email protected] 7 points 2 years ago (1 children)

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.

[–] [email protected] 5 points 2 years ago (1 children)

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.

[–] [email protected] 2 points 2 years 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.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

Unpopular opinion: I hope it's going to be a flop (apart from the few use cases where it does make sense). 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.

[–] [email protected] 1 points 2 years ago

I definitely feel you. Not sure WASM is the answer, but it’s still neat.