5 199
I hate compilers
• Anubis adds WebAssembly-based proof of work checks for client-server consistency. • To support clients without WASM, Anubis recompiles WASM to JavaScript using wasm2js. • Reproducible builds are hard due to compiler nondeterminism like __DATE__ and __TIME__ macros. • Clang silently runs wasm-opt during linking, causing build failures with old wasm-opt versions. • Address layout affects output ordering, fixed by disabling address randomization and arch-specific checksums.#WebAssembly #ReproducibleBuilds #CompilerIssuesRead more | Comments | @hackernws
18 jun, 12:34
