No. This project is solving a different problem. Let it be.
Now, we have this, paraphrased from the 2012 novel _Off to Be the Wizard_ by Scott Meyer. Phillip, a time traveler from 1984, asks, "What on earth can a person do with 4 gigabytes of RAM?" Martin, from 2012, answers, "Upgrade it immediately."
Of course, things do get better over time, and some of those improvements require more RAM. Still, I wonder how much of the increases in minimum RAM requirements are actual progress, and how much are just waste. Is there even a way to answer that question? If I were to set up a machine (even a VM) running Windows 98 and Red Hat Linux 6.0 today, it probably couldn't do much on the current Internet, so I wouldn't be able to fairly evaluate how much the operating systems have actually improved.
I've been hearing discouraging things from both architecture and silicon people at Intel. It seems like they lost direction, probably because of the recent explosion of mobile/ARM.
I argue that the UX has actually gotten worse since software is becoming more bloated faster than the hardware improvements can keep up with. There are more layers of abstractions and VMs running VMs running VMs simulating DOMs listening for changes to objects to update models to trigger actions which bubble up to listeners which fire events which change data structures that eventually update some text on the screen. Consider what happens in the physical memory, at the hardware layer, to have a modern React app print a line of text when a text box is modified. Contrast this with what a terminal does and what happens in memory. Printing text to the screen in a "modern app" is now so complicated that it's effectively impossible for a human to determine the CPU instructions and memory manipulations required to do the things we're doing.
And what do we do? We make more transpilers, more frameworks, move more to the browser, split our systems across networks and around the world. Contrast saving a file to a floppy disk with uploading that same file to a "modern app" which stores it on S3 using Paperclip with Rails, as many modern apps do. Think about all the systems that file goes through, the network requests, the protocols involved, the standards required to make that happen, and the infrastructure which powers it all. Think about the data centers those VMs running that app run in, the people who oversee them, the tooling they need to run those systems. Think about all the project managers who had a hand in setting any of that up, the financial planning of each aspect, the development time spent.
Recall the time when one could reason about what goes on inside a computer at every level, when key presses registered immediately, when the memory allocations of applications and the OS they ran in made sense to humans. When it felt like magic instead of digging through a trash heap of ads to find the tiny sliver of what you needed.
what the hell are we actually even fixing anymore?
If I am not missing something obvious, aren't we blaming the wrong thing?
By users, not developers.
Edit: I know, I know, I know... But you all get my point.
My girlfriend who is a non-power user regularly has 2 browsers open and her laptop is swapping constantly with it's 8G of ram.
If only that were a relevant remark. The tab with the linked Oryoki web page alone is using 250 megabytes for me. And a second tab of the same page is using an additional 230 megabytes.
Somehow I don't think that that's well utilized RAM for the ~350 kilobytes of web content. This page uses 200 megabytes as a tab, and HN isn't exactly a heavy page.
At first I was going to blame all of the garbage from rockstar brogrammers, but even the simple HN comment page tab is using 264MB of RAM on macOS. The browser itself uses an additional 208MB according to Chrome's task manager, not counting all of the extensions. Where is it all going? There's 10 lines of JS on this page and a tiny amount of CSS. Has Chrome become that bloated?
This is especially annoying when many modern "desktops" apps are just Chromium wrappers that bleed memory.
Your 208MB might not be additional, but a big subset of it could be shared with the renderer/gpu process.
If you want to know where the memory is going you can go to about://tracing and enable the memory-infra category.
If you have ram and it is not being used, it is completely wasted, if you have cpu cycles and it is not being used you are just saving on battery and not over heating the laptop.
Maybe on 3 or 4K laptops. But aren't most 1388x768 or something equally dismal? Which isn't far off 1024x768. Anyways, a 1080p frame at 32bit depth is only 8MB.
Browsers are hardly low CPU, either. I'll see things idling at 10% of an i5. Which is like 200%+ of CPUs used for web browsing of yesteryear.
All this, and web pages are slower to respond. I recently used a page that loaded a grid of images. Changing by battery/throttling had a 2s impact on load time. CPU was pegged during that time.
And, for the record, I would complain if my OS was a memory hog.
Now, get off my lawn!
/me shakes his cane at all the youngin's running around with their copious amounts of RAM
:)
I assume you're running up on your RAM because (like me) you have tons of tabs open?
If you're one of those people, consider The Great Suspender: https://chrome.google.com/webstore/detail/the-great-suspende...
Also, have the right extensions. E.g. microadblock instead of Adblock Plus, etc. etc. There's a balance to be achieved somewhere in there. :)
Unused ram is useless ram. Its a problem when you're always out of ram. But get an SSD for the odd times you swap. You won't notice it. But either way, the only time my browser is slow is if I restart it and it loads my previous 20-30 tabs all at once. It'll do its thing for 10-20 seconds then done.
I get its a lot of ram but what I don't get is why this is impacting people so much? In this day and age most of what people do is in a browser. And if you only have a tab or two and you're working outside of your browser, and you think your browser is killing your computer? Maybe its time to upgrade or add some ram.
You can get 16gb of ram for $50/$60... I abuse my machines with multitasking all day and none of them feel slow because my browser uses too much ram. Both have 16gb.
When the ASCII text of a webpage is measured in tens of kilobytes, and the RAM in hundreds of megabytes, something is wrong.
Anybody can shift+Esc on Chrome and see how Javascript heavy pages consume a shocking amount of Memory.
This tab is consuming 98 MB of RAM. I am in incognito mode, with no plugins.
While crazy site do crazy things with JS and have crazy bad user experiences (TMZ.com makes 700+ requests and takes over 90seconds to load), 98 MB of ram for a HN tab is ridiculous. This has very little to do with JS.
Something is seriously wrong, and it has nothing to do with client side JS, or huge retina images, or CSS animations and rendering jank.
Providing data.
http://blog.chromium.org/2008/09/google-chrome-memory-usage-...
We'd need a sandboxing and module system for Javascript to solve this. A problem that is both technically complex and not 'sexy', so don't hold your breath.
What else with my 16 or 32GB of ram am I going to do when I surf? I would happily give double the current gen ram for better performance.
(remembering most Macs come default with 8G of ram)
For example, I sometimes play very resource-hungry games and like to have a youtube video on my second monitor while I play. But that's not possible on my gaming PC, so I have to youtube-dl the video first and run it in vlc instead.
I can do all of that at the same time as is...
First of all, it's not a low end PC, it's an expensive gaming-dedicated rig barely a couple of years old. The amount of resources browsers consume is just ridiculously high.
Second, the argument that browsers should use all the resources and ram available in the world only holds if your computer is dedicated to web browsing. This is quite obviously false - I shouldn't even have to give you my case as an example. PCs are general computing machines.
Web browsers are too hungry for what they do. Not every tab is meant to run a full blown web app with webgl and megabytes of javascript code. The point I was making was that what I'm not able to do with Firefox/Chrome, I'm able to do with vlc. That is preposterous for something that wants to be "the future of the desktop".
I can youtube+[Witcher3|DarkSouls3|Skyrim+10GBMods] just fine with my 4k series i7, 16GB, GTX970.