Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Aug 5, 2021
|
parent
|
context
|
favorite
| on:
Slitter: A slab allocator that trusts, but verifie...
I'm curious how you do allocation partitioning based on type for C. You can certainly segregate on size, but that still allows confusions across types that are the same size–plumbing type metadata should require compiler support.
pkhuong
on Aug 5, 2021
[–]
You use a different interface than malloc/free and ask the programmer to pass in a class tag.
https://github.com/backtrace-labs/slitter/blob/7afb9781fd25b...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: