Wasm bytecode optimization methods, execution methods, computer devices, and storage media
AssigneeAnt Blockchain Technology (Shanghai) Co., Ltd.
InventorsWei ZHOU, Lei ZHANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeAnt Blockchain Technology (Shanghai) Co., Ltd.
InventorsWei ZHOU, Lei ZHANG
Estimating the term…
Computer-implemented methods, systems and computer-readable media for WebAssembly (Wasm) bytecode optimization and execution are provided. An example method includes reading and parsing Wasm bytecode, to obtain a Wasm module object; creating a linear memory and filling the linear memory based on the Wasm module object obtained through parsing; executing a start function in the Wasm module object, compressing execution result data of the start function, and modifying the linear memory based on the compressed execution result; replacing a corresponding data segment in the Wasm module object with data in a modified linear memory; and encoding a Wasm module obtained by replacing the data segment, and storing the encoded Wasm module as Wasm bytecode.
A computer-implemented method for WebAssembly (Wasm) bytecode optimization, comprising:
A computer-implemented system, comprising:
One or more non-transitory computer storage media storing computer program instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
Dependencies are inferred from the claim text.