Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pizza234
on Sept 20, 2022
|
parent
|
context
|
favorite
| on:
It's time to halt starting any new projects in C/C...
Using integers as allocation strategy (as in the referenced use case) will fail when slots are reused.
jcelerier
on Sept 20, 2022
[–]
To be fair pointers can (and are) also reused by the OS allocators which can lead to "fun" bugs if you aren't careful
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: