TritonVM / tasm-lib

A collection of functions written in Triton VM assembly (tasm)
Apache License 2.0
11 stars 2 forks source link

Improve specification of dynamic/static memory allocation #123

Open Sword-Smith opened 4 weeks ago

Sword-Smith commented 4 weeks ago

Cf. https://talk.neptune.cash/post/2/20, we should specify that about half of memory is available for static memory allocation $[2^{63}, 2^{64}-2^{32}]$ and half, $[2^{32}, 2^{63}-1]$ is available for dynamic allocation. Currently, we only specify how the kmalloc method words, and it only needs static memory from a region of size $2^{32}$.