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

Programmer Humor

19572 readers
1199 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
[–] zagaberoo@lemmy.sdf.org 9 points 1 year ago (1 children)

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

[–] Knusper@feddit.de 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.

[–] float@feddit.de 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.

[–] Knusper@feddit.de 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.