News for hackers. Stuff that matters.
Re:PartialExecuter: Reducing WebAssembly size by exploring a... by carlopi on Tuesday March 15, 2022 @01:05PM (#30687854)
WebAssembly implies static linking (malloc / printf & all are part of the shipped module) and code size matters since it directly influence users (since there might be delays in downloading big payloads). Both factors plays a role in deciding to plan putting work in optimizations like this.

There are some general gains to be had with this optimization, and probably the same ideas were already around for a while, but putting together in this way was helped by thinking about WebAssembly specific constraints.

Re:PartialExecuter: Reducing WebAssembly size by exploring a... by sroussey on Tuesday March 15, 2022 @01:16PM (#30688026)
Code size always matters, and while wasm may be an extreme case, hopefully this kind of benefit can contribute to shrinking other kinds of code targets.
Re:PartialExecuter: Reducing WebAssembly size by exploring a... by pjmlp on Tuesday March 15, 2022 @01:29PM (#30688204)
Not necessarily, shared libraries are on the WebAssembly roadmap.
Re:PartialExecuter: Reducing WebAssembly size by exploring a... by carlopi on Tuesday March 15, 2022 @02:03PM (#30688698)
Yes, I wanted to be more nuanced but oversimplified. Thanks for mentioning this!