Y
Hacker News
new
|
ask
|
show
|
jobs
by
29athrowaway
1979 days ago
malloc is implemented using mmap.
You map memory manually when you need very low level control over memory.
1 comments
jeffbee
1979 days ago
`malloc` is not one thing. Some mallocs use mmap and others use brk. Some implementations use both.
link
kevin_thibedeau
1979 days ago
Some use neither.
link