Spec M13 (backlog) — sizing a program's memory at compile time

Owner's idea: mc figures out how much memory the compiled program needs and fixes the runtime allocation at compile time (today a program declares u8 heap[N] by hand; the compiler itself uses 32 MiB and touches 14.5 MiB).

What's statically decidable and what isn't:

Prerequisites: M12 (the example's lib/rt.mc runtime is the guinea pig). No deadline.

Edit this page