CASPIAN JOURNAL

MANAGEMENT AND HIGH TECHNOLOGIES

FEATURES OF USING LOW-LEVEL PROCESSOR CODE USING WEBASSEMBLY

Read Borodin Oleg V., Egunov Vitaly A., Plotnikov Vladislav P. FEATURES OF USING LOW-LEVEL PROCESSOR CODE USING WEBASSEMBLY // Caspian journal : management and high technologies. — 2022. — №2. — pp. 68-83.

Borodin Oleg V. - Volgograd State Technical University, Volgograd, Russian Federation

Egunov Vitaly A. - Volgograd State Technical University, Volgograd, Russian Federation

Plotnikov Vladislav P. - Volgograd State Technical University, Volgograd, Russian Federation

The paper considers WebAssembly, a tool that allows using the JavaScript language in a modern browser to access a virtual instruction stack machine. Using WebAssembly or WASM solves the problem of executing browser code at a low processor level, opening access to the capabilities of languages such as C, C++, Rust, and many others. A few examples are given that demonstrate the advantages of using the technology. Several different functions are considered, their launch is analyzed both in the standard JavaScript implementation and using WASM, the resulting execution time is analyzed, acceleration is considered. An overview of existing solutions is provided, where alternatives are previously relevant in the community solutions to the problem of low-level code execution. Based on the obtained practical results, the advantages, and disadvantages of the WebAssembly technology are analyzed. The results are summed up, the real scenarios of using the technology are highlighted.