Abstract
Rust – The Programming Language for Every Industry
Highlights
Rust’s main focus is safety and all the variables are immutable by default
3 References, citations and authors descriptions In this chapter a more in-depth analysis will be performed in order to showcase the ability of Rust to improve the performance of an application
The client-side rust code will run as a WebAssembly module and for the server side we will perform profiling on a native module written in Rust and native code
Summary
Programming languages are continuously evolving by focusing on the following criteria: speed and ease of use. Rust is a system programming language developed by Mozilla Foundation, which offers features of a high-level language implemented by the principle of zero cost abstraction and is very efficient in terms of performance. It provides a memory safety mechanism without using a garbage collector that could affect the performance, called borrow checker. The client-side rust code will run as a WebAssembly module and for the server side we will perform profiling on a native module written in Rust and native code This benchmark will showcase a scenario of creating multiple DOM Elements, add inner HTML to them and append them to the page. The tool used for this test is wasm-bindgen that compiles the Rust library to WebAssembly module
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have