Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
layer8
on July 22, 2025
|
parent
|
context
|
favorite
| on:
The .a file is a relic: Why static archives were a...
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.
TuxSH
on July 22, 2025
|
next
[–]
C++ "magic statics" handle that use case (but with hidden atomic flag load (& more) costs at each access)
lokar
on July 22, 2025
|
prev
[–]
Ideally they would do the explicit init at startup before starting threads
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: