Developers of the Servo browser engine presented initiative to increase modularity and move away from use low-level APIs of the JavaScript engine SpiderMonkey, developed by Mozilla and used by Servo to provide support for JavaScript and WebAssembly. In the future, Servo plans to move to a higher-level API and an abstraction layer for interacting with JavaScript engines, which will make it possible to get rid of unsafe direct calls to SpiderMonkey code performed in unsafe blocks. In the long term, the change will allow us to move away from being strictly tied to SpiderMonkey and provide support for other JavaScript and WebAssembly engines, such as the engine used in Chrome V8.
Project Servo written in the Rust language and features support for multi-threaded rendering of web pages, parallelization of operations with the DOM (Document Object Model) and the use of safe programming mechanisms provided by the Rust language. The Servo project was originally developed by Mozilla, but then came under the auspices of the Linux Foundation. Servo is natively designed to support breaking DOM and rendering code into smaller subtasks that can run in parallel and make more efficient use of multi-core CPU resources. Firefox already integrates some parts of Servo, such as the multi-threaded CSS engine and the WebRender rendering system.
Thanks for reading: