News for hackers. Stuff that matters.
Re:Important PostgreSQL 14 update to avoid silent corruption... by fjfbsufhdvfy on Friday June 10, 2022 @12:43AM (#31690138)
It can when you use LTO, but that tends to be very slow for large programs.
Re:Important PostgreSQL 14 update to avoid silent corruption... by plq on Friday June 10, 2022 @06:57AM (#31692362)
It is slow. Our (C++) project's MSVC release build ends with a glorious 2-minute run of link.exe with lto (/LTCG /O2) and aggressive inlining (/Ob3) enabled.

Limiting unit size in C++ helps with faster edit/compile/run cycles as well, which doesn't seem to be concern for C codebases in 21st century.

Re:Important PostgreSQL 14 update to avoid silent corruption... by anarazel on Friday June 10, 2022 @05:56PM (#31699801)
You hit most of the same issues (and some additional ones) when compiling the same code within one translation unit...