4 ms·
> one of them got a new laptop with 8GB of RAM, why? because she was complaining about webapps using too much memory and slowing down her previous system. I su
by asveikau 13y ago
> one of them got a new laptop with 8GB of RAM, why? because she was complaining about webapps using too much memory and slowing down her previous system.
I suspect a few people on HN will be reluctant to see their role in this arrangement. ducks
- B-Con 13y agoDon't duck, it's the truth. We built really powerful computers and decided the best way to use them was to run web apps consisting of a poor performance scripting language with a poor performance visual-rendering language and half the people who build with it seem to think that anything done in a web browser is free. "Modern" CSS for even a simple site is pretty silly. So many horribly inefficient rules, sometimes dozens of levels of overwriting properties, etc. And gobs upon gobs of Javascript that does very little but is constantly running, checking input boxes, animating every tiny little detail, doing things that can be done without Javascript, etc. I have better system performance when running a Windows 7 VM, a semi-bulky image editor, or compiling the kernel than I do with a few bulky webapps in Firefox. And this is on a desktop built just 4 years ago. I have a light-weight Linux setup that uses 80MB of RAM after logging in. It has 1GB of RAM. I can't run GMail and Facebook Firefox and browse the Internet at the same time with minimal open tabs. It's sad.
- asveikau 13y agoIt's not like it's constrained to the web either. I had a bit of an epiphany about the state of desktop Windows a few years ago when for a hobby project I wrote a UI using only Win32 and C and no external dependencies. Maybe it took longer to write than it should have but I was really shocked at how the thing ran so much faster and smoother than just about any UI I was using on that machine. It dawned on me that all those layers of MFC, WinForms, WPF, Silverlight, WinRT and whatever else they'll come up with in the name of developer productivity are no match for a set of APIs designed to run at 25MHz with 8MB of RAM.
- ProNihilist 13y agoThis is why I still use Winamp, nothing else comes close to dealing with playlists of thousands of items while also being fairly customisable.
- FedRegister 13y agoLet us also not forget it's power to literally punish ungulates as well.
- mwcampbell 13y agoThis is believable, but I'd like to dig a little deeper. Do you remember which Windows apps you were comparing yours against? And on what version of Windows?
- asveikau 13y agoThis was Windows 7, I am pretty sure with dwm disabled, and it was comparing (albeit informally) against every Windows app I used at the time. I know that some newer frameworks take advantage of GPU features (actually I used to work as a dev in the Windows org) but guess what, GDI is still faster.
- hcarvalhoalves 13y agoI can pop-up Activity Monitor any time in the day, with multiple apps open, and it's guaranteed the app using the most memory is a browser (any browser). As a data point: Safari is using 600+MB now with just HN and GitHub open. It's using more memory than all the other apps (editor, terminal, mail, Rdio, Skype) combined. 600MB is not much by today's standards, but comparatively, is ridiculously wasteful. It's a damn CD. Hope the Mavericks update improves this a bit since I'm short on RAM on this machine (4GB).
- madvoid 13y agoMavericks does amazing things to memory usage. My machine has 4GB as well, and safari went from 1GB+ memory usage to 200MB memory usage for the same amount of tabs. Under ML, I was swapping constantly; now, no swap at all.
- hcarvalhoalves 13y agoDid update today, and it's certainly much snappier, it rarely hits the disk now.
- X-Istence 13y agoDid you count up all of the individual processes? Webkit is now finally on par with Chrome in that each tab is it's own running process.
- MaysonL 13y agoI have 16MB, and usually have dozens of windows/tabs open in Safari, Xcode, Textmate2, and a few miscellaneous apps. Currently, Activity Monitor shows 15.9x MB used, 10.87 App, 1.26 File cache, 1.91 Wired, and 1.94 Compressed. Swap used 0 bytes, virtual memory 20.12 GB. No noticeable hesitations attributable to compressing/uncompressing when switching windows/apps.