WASM compiling method and device, electronic equipment and storage medium

The invention discloses a WASM compiling method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The WASM compiling method comprises the following steps: identifying a target function; combining the target function based on the return value and...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: MAO CHUNYANG, HUANG YANBEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a WASM compiling method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The WASM compiling method comprises the following steps: identifying a target function; combining the target function based on the return value and the parameter type, and generating a first Map table based on a combined result; and on the basis of the first Map table, according to the category information, generating a JavaScript file aiming at the target function and a binary file aiming at WebAssessment of the target function by adopting a WASM module for the target function. According to the method and the device, the technical problem that the compiling method of the WASM in the prior art cannot be applied to organizing a large WASM project due to the limitation of the export number of the WASM functions can be solved. 一种WASM编译方法、装置、电子设备及存储介质,涉及计算机的技术领域。所述WASM编译方法包括:识别目标函数;将所述目标函数基于返回值以及参数类型进行合并,基于合并后的结果生成第一Map表;基于所述第一Map表,按照所述类别信息,对所述目标函数采用WASM模块生成针对于目标函