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

Programmer Humor

19551 readers
736 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] 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.