this post was submitted on 16 Feb 2025
308 points (94.0% liked)

Technology

63134 readers
3762 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] ICastFist@programming.dev 37 points 6 days ago (3 children)

Can we please go back to making programs for the target OS and skip the browser dependency?

[–] JackbyDev@programming.dev 30 points 6 days ago (1 children)
[–] curry@programming.dev 9 points 5 days ago

[Screams internally]

[–] terminhell@lemmy.dbzer0.com 15 points 6 days ago

Browsers have almost become the OS. At least in user land.

[–] WhyJiffie@sh.itjust.works 2 points 6 days ago

partly I agree, but then I would prefer to run those webapps confined in a web browser

[–] maximilian@lemmy.ml 31 points 6 days ago (3 children)

Honestly those usecases described here shouldn’t have been done in js in the first place.

[–] Thrashy@lemmy.world 12 points 5 days ago* (last edited 5 days ago)

Look, I'm in no position to talk seeing as I once wrote a cron job in PHP, but the profusion of JavaScript in the late aughts and early teens for things that weren't "make my website prettier!" feels very much like a bunch of "webmasters" dealing with the fact that the job market had shifted out from under them while they weren't looking and rebranding as "developers" whose only tool was Hammer.js, and thinking all their problems could be recontextualized as Nail.js.

[–] commander@lemmings.world 3 points 6 days ago

I agree.

I'm noticing this species has a problem with doing things the obviously correct way the first time.

It's as though we'd rather put 100x more effort for 10% of the results just to prove that we "can" do it.

[–] Bogasse@lemmy.ml 1 points 6 days ago (1 children)

Well I see huge benefits in building the tools used by a community with the technology this community masters. IMO the Python's stdlib sucks because it's written in C which is a huge barrier to entry.

[–] balder1991@lemmy.world 2 points 5 days ago (1 children)

Not all of the stdlib is written in C. Some parts cannot be Python because it’s critical code that needs to be as fast as possible.

Python is already slow for many use cases, if the standard lib was all built in Python it would be just too slow for much more use cases.

[–] Bogasse@lemmy.ml 1 points 5 days ago

I didn't mean it's a bad choice !

But I think it's a good example of the compromise that has to be made here : what's the best fitting technology vs. how to ensure easy onboarding for future contributors.

[–] commander@lemmings.world 8 points 6 days ago

Good!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[–] Venator@lemmy.nz 11 points 6 days ago* (last edited 6 days ago) (1 children)

Can browsers run rust in the front end instead of javascript, or is it limited to build time and backend stuff?

[–] sushibowl@feddit.nl 17 points 6 days ago (1 children)

Sort of, browsers can run rust code through webassembly. But i dont think this is a full replacement for JavaScript as of yet.

[–] sugar_in_your_tea@sh.itjust.works 5 points 6 days ago (1 children)

Yeah, you need to have some JS to manipulate graphics, so the Rust web frameworks have a JS shim to do that and communicate with the WebAssembly Rust code as necessary. It works surprisingly well tho.

[–] sabin@lemmy.world 2 points 6 days ago

Wasm bindgen is an absolute nightmare of auto-generated function names. From a purely performance/functionality perspective it works but it's hella ugly. I hope some alternative arrives at some point.

load more comments
view more: next ›