Remix.run Logo
blackhaz an hour ago

10 MB is ridiculously overbloated. 1 MB or something in that vicinity should be more like it.

magackame 3 minutes ago | parent | next [-]

I think you guys on HN can be a bit out of touch maybe? On my linux machine (measured with tux-manager):

  nautilus                            177 MB
  kitty                               150 MB
  alacritty                           107 MB
  mpv --idle --force-window           160 MB
  winit empty window + OpenGL context 100 MB
  tux-manager                         69  MB
  hexchat                             55  MB
  gnome-terminal                      47  MB
  st                                  12  MB
  xterm                               12  MB
All these apps are what you would consider native, good apps. Written with Qt, GTK, some in low level langs like C\C++, Rust as well. There is of course different ways to measure the usage and maybe some more testing needs to be done, but stuff like 1-10 MB seems completely unrealistic. I think any empty Qt/GTK app eats 40 MB at least. Only thing that even gets close is st at 12 MB. And mind you it's a terminal (which is 1000x simpler than any modern GUI app, doesn't load any assets etc) and it doesn't even use any GPU accel (which itself seem to add a lot of baseline cost).
Const-me an hour ago | parent | prev | next [-]

10 MB is not too bad for a GUI app. If the app is full screen, display is FullHD and has 8 bit depth, that's almost 8 MB memory for the back buffer alone. Enable HDR and pixels become 8 bytes RGBA16_Float instead of 4 bytes BGRA8_Unorm, twice as much memory.

anabab 31 minutes ago | parent | next [-]

2 bit 160x144px ought to be enough for anything

an hour ago | parent | prev | next [-]
[deleted]
perching_aix an hour ago | parent | prev | next [-]

This is only relevant if we assume CPU rendering. The article described system RAM use, not video RAM use. Task Manager doesn't combine the two.

They clearly spent it on maintaining their independent Chromium instance instead.

an hour ago | parent | prev [-]
[deleted]
david-gpu an hour ago | parent | prev | next [-]

How much money are these companies going to make by reducing their weather app to 1MB, or 10MB? How much is it going to cost them to get there?

The world doesn't run on personal aesthetics, when nobody is willing to pay for them.

nashashmi an hour ago | parent | next [-]

These days we have an AI system to do exactly this kind of optimization, too expensive for humans, and too cheap compared to consuming expensive modern hardware

fragmede an hour ago | parent | prev [-]

The MacBook Neo has only 8GiB of RAM. This is widely decried as not enough. The RAMpocalypse means that 8 GiB is going to have to be enough or else it'll eat into Apple's margins. The Neos are wildly popular though because people have used it and 8 GiB is fine. So while the singular weather app being smaller itself isn't material, in aggregate, macOS being more efficient is something that lets Apple sell a lower spec product while still justifying a higher price and thus better margins for Apple.

bilekas 33 minutes ago | parent [-]

Let's not ignore the new "windows copilot laptops" that come with 4GiB.

https://en.gamegpu.com/news/zhelezo/defitsit-pamyati-zastavi...

cdud3 an hour ago | parent | prev | next [-]

The KDE Plasma weather app takes in maximum 1MB.

lynguist an hour ago | parent [-]

I'm not sure if you're reply hunting or we talk about different apps but how would you fit the Qt runtime, Javascript runtime, font cache, graphics, networking libraries, etc in this limit? This can't physically be under 70 MB, and more like 100-200+ MB.

rpdillon an hour ago | parent | next [-]

Sibling comment called it: these are dynamic libs used by the desktop, so the incremental RAM usage is low. That's a good approach! Makes me wonder what the heck MS is doing to get their app to add an incremental gig to memory usage.

cdud3 12 minutes ago | parent [-]

Correct.

Telaneo an hour ago | parent | prev [-]

Many of those things are already in memory just from running an empty desktop.

rpdillon an hour ago | parent | prev [-]

I mean, you're getting dumped on for this, but it seems about right?

For an extreme example:

    curl https://wttr.in/
Inside of a conky widget would do the trick, I think.

https://github.com/brndnmtthws/conky/wiki/Lua:-Shell-Integra...

baist0 a minute ago | parent [-]

LOL. it's a beautiful!