this post was submitted on 13 Dec 2025
42 points (87.5% liked)
Programming
24097 readers
265 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This isn't a very good article IMHO. I think I agree (strongly) with what it's trying to say, but as it's written, it just isn't it.
Runtimes/"VMs" like the JVM also allow nice things like stack traces. I don't know about the author but I much prefer looking at a stack trace over "segmentation fault (core dumped)". Having a runtime opens new possibilities for concurrency and parallelism too.
This just doesn't make any sense. COSMIC is more configurable because it wants to be, this has absolutely nothing to do with Rust vs Javascript.
And here the author just contradicts themselves. So wrappers, runtimes and VMs are bad, except when it's Ken Thompson doing it in which case adding containers and a language runtime into a kernel is a great idea actually?
Lastly, I didn't address the efficiency arguments in the quotes because it's mostly just true... but I do think it requires some more careful consideration than "JS bad Rust good". Consider this unscientific sample of different apps on my PC and how much of my (expensive!) RAM they use:
Note that Electron, and only Electron, is a supermassive black hole of bloat. Whatever is going on here, it's not Javascript.
Even Electron apps can be small: Stretchly, a break reminder, normally takes something like 20 MB of memory.
Still has about 20 abstractions to simulate a GUI in a Document Object Model. And the framework for your small code has more loc than your OS.
What the hell are you talking about? Who are you talking to?
You don't need a ‘framework’ to write JavaScript. And HTML doesn't ‘simulate’ a GUI, it in fact provides a paradigm and an engine ready for rendering gobs of text, images and whatnot, on which any other typical GUI framework would choke like a little baby. And you would have to implement any minuscule element from scratch in godforsaken C++ of all things.
Maybe learn a thing or two of what you're trying to speak about.
Uhuh. And how you think it does that?
Do you imagine that it abstracts an underlying GUI framework?
Please tell me, how would an HTML engine render something like a few paragraphs of text flowing around embedded images whatever which way, if it did that over a traditional framework like Qt/Gtk/etc.
That's what i say, minimized webbrowsers are a slight bit less bloaty but still make for bloaty GUI frameworks.