Re:The .a File Is a Relic: Why Static Archives Were a Bad Id...
by lokar on Tuesday July 22, 2025 @01:30PM
(#44650437)
The call to init should be idempotent
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.
This all works as long as libraries are “flat”, but doesn’t scale very well once libraries are built on top of each other and want to hide implementation details.