WebAssembly-based vector space data analysis method

The invention discloses a WebAssembly-based vector space data analysis method, which comprises the following steps of: acquiring a C/C + + source code to be analyzed, and compiling the C/C + + source code to be analyzed into a wasm program file through a WebAssembly open source compiler tool; loadin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG JIANHUA, LIANG SHENGHONG, LIU HUI, ZHAO RUIXIANG
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 WebAssembly-based vector space data analysis method, which comprises the following steps of: acquiring a C/C + + source code to be analyzed, and compiling the C/C + + source code to be analyzed into a wasm program file through a WebAssembly open source compiler tool; loading a Wasm program through a WebAssembly module of a browser, exposing an interface of the Wasm program to a browser end, and calling the Wasm interface by the browser end through JavaScript; enabling the browser end JavaScript to call a vector space data file to the browser end to be stored in a binary system mode, enabling the browser end JavaScript to allocate a memory by calling a malloc function of the WebAssembly open source compiler tool, and saving the binary system file in the WebAssembly shared memory; enabling the browser end to call an interface of a wasm program to analyze the vector data, and enabling the wasm program to read and analyze the binary file data by operating a WebAssembly memory; and perfor