Carl-Daniel Hailfinger wrote:
Hmm. we just recreated malloc.
You're free to use malloc in stage2 and beyond, but please keep that complexity out of stage1. malloc becomes ugly really fast if it can fail easily due to size constraints.
malloc was removed from v3 for good reasons. Do not put it back.
Stefan