News for hackers. Stuff that matters.
Re:The .a File Is a Relic: Why Static Archives Were a Bad Id... by layer8 on Tuesday July 22, 2025 @02:32PM (#44651204)
That can be difficult in a multi-threaded environment with dynamically loaded shared libraries. Or at least it isn’t something that’s generally expected to be guaranteed to work.
Re:The .a File Is a Relic: Why Static Archives Were a Bad Id... by lokar on Tuesday July 22, 2025 @05:15PM (#44653094)
Ideally they would do the explicit init at startup before starting threads
Re:The .a File Is a Relic: Why Static Archives Were a Bad Id... by TuxSH on Tuesday July 22, 2025 @05:17PM (#44653111)
C++ "magic statics" handle that use case (but with hidden atomic flag load (& more) costs at each access)