3 ms·
FTA: I was serializing asset structs directly to disk (pak file) that had raw pointers in them I’m surprised that that works in WASM. Wouldn’t a tiny change in
by Someone 4mo ago
FTA: I was serializing asset structs directly to disk (pak file) that had raw pointers in them
I’m surprised that that works in WASM. Wouldn’t a tiny change in your memory usage (say if you toggle your “log startup progress” flag) load data at a different address?
- mwkaufma 4mo agoUsually you do "pointer-fixup" where you convert them to relative-offsets on write and then back to absolute-offsets on read.