cakeml icon indicating copy to clipboard operation
cakeml copied to clipboard

Implement resizable stack

Open ordinarymath opened this issue 4 months ago • 1 comments

This issue is about implementing a resizable stack for CakeML. Currently CakeML's stack size is determined at initial runtime.

ordinarymath avatar Aug 14 '25 01:08 ordinarymath

Do you mean resizable memory or only the stack specifically?

CakeML allocates all of its stack/heap memory in one block at the start and manages them.

It might be possible to allow the stack/heap sizes to vary slightly within this block, but doing extra allocation is likely not going to work without a major redesign.

tanyongkiam avatar Aug 15 '25 05:08 tanyongkiam