this post was submitted on 08 Sep 2023
547 points (94.2% liked)

Programmer Humor

19652 readers
1718 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 36 points 1 year ago (3 children)

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

[–] [email protected] 13 points 1 year 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 1 year 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.

[–] ICastFist 5 points 1 year 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 1 year ago

Thanks, I will look into that

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

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

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

Thanks, will check it out

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

That's awesome.

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

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

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

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

[–] [email protected] 7 points 1 year 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 1 year 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 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.

[–] [email protected] 0 points 1 year ago* (last edited 1 year 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 1 year ago

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