115
top 50 comments
sorted by: hot top controversial new old
[-] dis_honestfamiliar@lemmy.world 17 points 3 months ago

I wish death upon it, but it just won't die. I guess that's cuz it's the only frontend. Or at least the only frontend that allows DOM manipulation.

[-] atzanteol@sh.itjust.works 10 points 3 months ago

That's exactly it. Every single webapp in the world has some level of javascript in it.

[-] jimmy90@lemmy.world 2 points 3 months ago* (last edited 3 months ago)

thanks to wasm any language is a browser running language. JS is relegated to some token binding boilerplate as part of any framework and with things like servo/tauri rendering html will be pure rust

[-] coloredgrayscale@programming.dev 11 points 3 months ago

thanks to wasm any language is a browser running language.

Theoretically yes, practically you may have to deliver a whole runtime depending on the languagey making websites even bigger and slower to load initially. And unless it's a webapp with data processing on the client the perceived performance benefits may be negligible.

load more comments (1 replies)
[-] NaoPb@eviltoast.org 2 points 3 months ago

Noob question here. What's DOM manipulation?

[-] dis_honestfamiliar@lemmy.world 1 points 3 months ago

Document ObjectModel. Think using code to add a JavaScript to make a drodown menu appear like for a navigation bar. That would be manipulation. And I think there's so much more Angular and React do with DOM that I don't know enough to explain it.

load more comments (47 replies)
[-] pkill@programming.dev 11 points 3 months ago* (last edited 3 months ago)

wonder when Rust will saturate it's niche as a C/C++ replacement, I'd guess 3-6 years would be when we might start to see some stabilization.

[-] FizzyOrange@programming.dev 3 points 3 months ago

I think it will take much longer than that. There is so much legacy C++ code. Maybe 10-15 years.

load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 29 Jul 2024
115 points (97.5% liked)

Programming

17314 readers
72 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS