search for: dassur

Displaying 1 result from an estimated 1 matches for "dassur".

2019 Oct 15
4
Wasm, start function, and default globals
...d (or tracked) yet? For 2), I always see the below global in the compiled output even with the most trivial code that makes no reference to it (e.g. compiling just a simple function that only references values on the implicit operand stack). (global (;0;) (mut i32) (i32.const 66560)) Per https://dassur.ma/things/c-to-webassembly/, looks like this is the __heap_base value implicitly provided for modeling the stack/heap as are usually present in most C/C++ environments, even though unused in my compiled output. Is this something that could/should be optimized away, but again just isn’t implemented...