cfallin commented on issue #1060:
This issue has been open for 3.5 years without any movement and it seems by now calling our heaps
heaphas been baked into our mental models and the code, so a proposal to rename a basic entity would need a fairly strong argument. In the absence of compelling reasons, avoiding confusing name-changes in our public APIs/IR concepts is probably the right call. So I'll go ahead and close this, but others please speak up if you feel strongly about renaming still.
cfallin closed issue #1060:
"Heap" is a pretty generic term, but Cranelift's
Heapis a very specific construct. What if we renamed Cranelift's "Heap" to "LinearMemory", since it's essentially a WebAssembly linear memory with a few more knobs exposed?And perhaps we could shorten it to "linearmem" in some places, so that
heap_addrwould belinearmem_addr. Or maybelinmem_addr? Or maybelinear_addr?
Last updated: Dec 06 2025 at 06:05 UTC