Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kevin_thibedeau
46 days ago
|
parent
|
context
|
favorite
| on:
A production bug that made me care about undefined...
There are non-standard mechanisms to control variable initialization. GCC has
-ftrivial-auto-var-init=zero
for zero-init of locals (with some caveats). For globals, you can link them into a different section than bss to disable zero-init.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: