News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang by Wowfunhappy on Tuesday March 24, 2020 @10:36PM (#22681502)
I'm on a Mac with 32 GB of Ram.

According to Activity Monitor, right now:

• 4.26 GB are being used by apps

• 19.52 GB are cached files

• 8.22 GB are just sitting idle (!)

Now, I'm not running anything particularly intensive at the moment, and I make a point of avoiding Electron apps. I also rebooted just a few hours ago for an unrelated reason.

But the fact is that I've monitored this before—I very rarely manage to use all my RAM. The OS mostly just uses it to cache files, which I suppose is as good a use as any.

Re:Zig cc: A drop-in replacement for GCC/Clang by userbinator on Tuesday March 24, 2020 @11:57PM (#22681821)
and I make a point of avoiding Electron apps

I do that personally too, but in a work environment that is unfortunately not always possible --- and also responsible for much of the RAM usage too.

Re:Zig cc: A drop-in replacement for GCC/Clang by kitd on Wednesday March 25, 2020 @10:11AM (#22684663)
Slack is the biggest culprit IME. If there was a native client, I'd take it like a shot
Re:Zig cc: A drop-in replacement for GCC/Clang by jcelerier on Wednesday March 25, 2020 @10:36AM (#22684887)