784
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 169 points 1 year ago

Web 2.0 or: “Instead of loading all code from the same URL the website now needs a dozen of different scripts from a dozen of different URLs, gives a shit about CSP and only shows a blank page when JS and/or cookies are disabled.”

[-] MyFairJulia@lemmy.world 134 points 1 year ago* (last edited 1 year ago)

Don't worry, texteditor.com is also available as an app on Windows, macOS and Linux thanks to Electron.

It only needs 300 megabytes and you can style it with CSS.

[-] CanadaPlus@lemmy.sdf.org 21 points 1 year ago* (last edited 1 year ago)

So was all this bloat inevitable as hardware got better, or is there a way to go back? It feels like a ripoff that our computers are 1000x better but they're maybe 10x faster once all the shitty software is taken into consideration.

[-] mea_rah@lemmy.world 21 points 1 year ago

Perhaps it's kind of inevitable to have some bloat. For example apps these days handle most of the languages just fine including emoji, LTR/RTL and stuff. Some have pretty decent accessibility support. They can render pretty complicated interface at 8k screen reasonably fast. (often accelerated in some way) There is a ton of functionality baked in - your editor can render your html or markdown side by side with source code as you edit it. You have version control, terminal emulator, language servers, etc..

But then there's Electron, which just takes engine capable of rendering anything and uses it to render UI, so as a result there's not much optimization you can do. Button is actually a bunch of DOM elements wrapped in CSS.. Etc.. It's just good enough for the "hardware is cheap" approach.

I think Emacs is a good example to look at. It has a ton of built in functionality and with many plugins (either custom configuration or something like Doom Emacs) you can have very capable editor very comparable to the likes of VS Code. Decades back Emacs had this reputation of being bloated, because it used Megabytes of RAM. These days it's even more "bloated" due to all the stuff that was added since. But in absolute numbers it does not need as much resources as its Electron based peers. The difference can easily be order of magnitude or more depending on configuration.

[-] MyFairJulia@lemmy.world 2 points 1 year ago

I am working on an application using DevExpress XAF. It allows you to build a big enterprise application relatively quick by doing a lot of the dirty work you would otherwise do yourself for CRUD stuff. A lot of the application can be modified through mere clicks without touching a single line of code.

It is cool but kinda bloaty. When you simply launch an XAF application, it uses 300 megabytes of RAM. And that's before you even loaded a single byte of business data. You have just reached the login screen.

At least i felt it was "kinda bloaty" until i first booted Void Linux on my gaming PC at home and took a look at htop. IT'S ONLY 400 MEGABYTES AND IT'S READY TO USE! MAYBE ADD 200 MEGABYTES FOR KDE!

ALL THIS BLOATING CANNOT CONTINUE! WE HAVE TO TAKE ACTION IMMEDIATELY OR WE WILL BE FOREVER DOOMED TO UPGRADE OUR RAM LEST WE DON'T WANT EVEN A FUNCTIONING TEXT EDITOR!

load more comments (8 replies)
load more comments (22 replies)
load more comments (22 replies)
this post was submitted on 12 Aug 2023
784 points (96.4% liked)

Programmer Humor

32490 readers
586 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS