|
|
|
|
|
by kevin_thibedeau
528 days ago
|
|
You can definitely implement malloc in C. It does nothing special in its most basic form but cough up void pointers into its own arena. It gets complicated when you have virtual memory and an OS involved but even then you can override the system malloc with a simple implementation that allocates from a large static array. |
|