Can we please go back to making programs for the target OS and skip the browser dependency?
Technology
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
Sure! Here! Electron.
[Screams internally]
Browsers have almost become the OS. At least in user land.
partly I agree, but then I would prefer to run those webapps confined in a web browser
Honestly those usecases described here shouldn’t have been done in js in the first place.
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.
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.
Fun fact! Lemmy is made in Rust!
The BE, yes, the FE is JS.
The new FE is going to be in rust though
Good!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can browsers run rust in the front end instead of javascript, or is it limited to build time and backend stuff?
Sort of, browsers can run rust code through webassembly. But i dont think this is a full replacement for JavaScript as of yet.
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.
Is this a 2yo write up, considering the last update was in 2023?
Originally 4 years old at this point it looks like, and the great shift to wasm has failed to manifest.
It was recently shared on Hackernews, I assume that's why it's showing up here now.
Can I just say how beautiful that page is? Such a delight to read the text on it. The legibility. The simplicity. 😙👌