News for hackers. Stuff that matters.
Re:Flow browser passes the Acid tests by phamilton on Saturday June 13, 2020 @09:22PM (#23514343)
There was a lot of debate back in the Gentoo days about whether to compile with -O3, -O2, or -Os

-Os meant faster launch times, which for desktop Linux made sense, but in classic Gentoo fashion a big group used -O3 and then did a bunch of hacks to make sure binaries would be loaded at startup and never be evicted from memory (even if the application itself wasn't running).

Gentoo was delightfully silly about this stuff, and mostly self aware that it was excessive.

Re:Flow browser passes the Acid tests by IgorPartola on Sunday June 14, 2020 @09:17AM (#23517445)
Oh god I remember this. Compiling the compiler to compile it again to compile the kernel to install everything. Every few weeks. While trying to find something that used less memory than openbox.
Re:Flow browser passes the Acid tests by MereInterest on Saturday June 13, 2020 @10:55PM (#23514725)
Depending on the conditions, you can get faster speed with -Os even if the binary is never evicted from memory. If you are optimizing for size, then you may be able to fit more of the program into the CPU cache, which can be accessed much faster than the main memory.
Re:Flow browser passes the Acid tests by TylerE on Sunday June 14, 2020 @12:37AM (#23515156)
Weren't there tests back then that showed -Os was actually faster on a lot of modern CPUs? Something like more of the binary staying in CPU cache?