Servo (software)
Servo is an experimental browser engine developed to take advantage of the memory safety properties and concurrency features of the Rust programming language. The project was initiated by Mozilla Research with effort from Samsung to port it to Android and ARM processors.[2] The prototype seeks to create a highly parallel environment, in which many components (such as rendering, layout, HTML parsing, image decoding, etc.) are handled by fine-grained, isolated tasks.
Developer(s) | Mozilla Research, Samsung, and others |
---|---|
Repository | |
Written in | Rust |
Operating system | Cross-platform |
Type | Browser engine |
License | MPL 2.0[1] |
Website | servo |
A part of the project, the Servo CSS style engine, has been incorporated into Firefox, Mozilla's open-source web browser.[3]
JavaScript support is provided by the C++ SpiderMonkey engine that is also used by Firefox.[4]
Servo is named after Tom Servo, a robot from the television show Mystery Science Theater 3000.[5]
Features
Servo features parallel layout algorithms implemented using Rust, and its own CSS3 and HTML5 parsers.[6][7] Servo makes use of GPU acceleration to render web pages more quickly and smoothly.[8][9]
By late 2014, Servo had performance comparable to or better than Gecko, Mozilla's other layout and rendering engine.[10][11] As early as 2015, development builds of Servo could render Wikipedia and GitHub, and successfully pass the Acid2 test.
History
Development of Servo began in 2012. The first commit on 8 February 2012 did not contain any source code.[12] The first rudimentary code commit occurred on 27 March 2012.[13]
On 3 April 2013 Mozilla announced that they and Samsung are collaborating on Servo.[14][15]
As of 30 June 2016, a preview version has been available for download for macOS and Linux.[16]
Since then, builds have also been made available for Windows (starting on 13 April 2017),[17] Android (14 September 2018),[18] and the Magic Leap One augmented reality headset (3 December 2018).[19]
In 2017 with the release of Firefox 54 the Servo CSS style engine (a part of the project) was incorporated by Mozilla into their open-source web browser.[3]
Firefox Reality AR, the first browser built entirely on Servo, was released in 2020.[20]
In August 2020 during the COVID-19 pandemic, due to lack of funds and organization restructuring, Mozilla laid off most of the Servo development team, along with its own threat management security team, to "adapt its finances to a post-COVID-19 world and re-focus the organization on new commercial services".[21] It became a Linux Foundation project on 17 November 2020.[22]
Servo project
Project goals
The Servo project itself is officially a research project. The goal is to create a new layout engine using a modern programming language (Rust), and using parallelism and code safety, to achieve greater security and performance versus contemporary browsers.
Relationship to Firefox
Servo developers have merged parts of Servo into Gecko, thus lending the Servo project's advancements to Firefox.[23][24]
Chromium Embedded Framework
Servo intended to re-implement the Chromium Embedded Framework (CEF) API. This would have allowed Servo to be used as a drop-in replacement for Chromium in applications using CEF, and would have positioned Servo as a competitor to Chromium in these cases.[25]
CEF support never reached a usable state and support was removed from Servo in early 2018.[26]
Project structure
Before Mozilla laid off the Servo team, the project was sponsored and maintained by Mozilla, with several Mozilla employees contributing a majority of code to the project. As an open-source, free software project, it is open to contributions from anyone.[27] Servo, including all community contributions, is licensed under the Mozilla Public License version 2.0.
See also
References
- "servo/LICENSE". GitHub. Retrieved 5 December 2018.
- "Samsung teams up with Mozilla to build browser engine for multicore machines". Ars Technica. 3 April 2013. Retrieved 24 October 2014.
- "Servo engines written in Rust deliver memory safety and multithreading". Mozilla Research. Retrieved 5 July 2020.
- Willis, Nathan (17 June 2015). "Parallel page rendering with Mozilla Servo". LWN.net. Retrieved 27 June 2015.
- Eich, Brendan (13 October 2012). "Add a new UI crate". Retrieved 2 April 2014.
- Moffitt, Jack (17 April 2014). "Another Big Milestone for Servo—Acid2". Retrieved 26 November 2015.
- "Servo Continues Pushing Forward". 1 May 2015. Retrieved 26 November 2015.
- Bergstrom, Lars. "Mozilla's Project Quantum and Servo". mozilla.dev.servo - Google Groups. Retrieved 9 November 2016.
- Clark, Lin (10 October 2017). "The whole web at maximum FPS: How WebRender gets rid of jank". Mozilla Hacks – the Web developer blog. Retrieved 22 October 2017.
- Larabel, Michael. "Mozilla's Servo Engine Is Crazy Fast Compared To Gecko". Phoronix. Retrieved 10 May 2016.
- "Mozilla's Servo Is Whooping The Other Browsers In Performance". Phoronix. Retrieved 10 May 2016.
- "initial add · servo/servo@ce30d45".
- "Add some stubs and a makefile · servo/servo@783455f".
- "Mozilla and Samsung Collaborate on Next Generation Web Browser Engine".
- "Mozilla, Samsung team up on 'Servo' next-gen browser engine".
- "Servo Nightly Builds Available". Servo Blog. 30 June 2016.
- "Windows nightly builds now available". Servo Blog. 13 April 2017.
- "Add Android download link". GitHub. Retrieved 8 December 2018.
- "A new browser for Magic Leap". 3 December 2018. Retrieved 20 May 2019.
- "Firefox Reality for HoloLens 2". 21 May 2020. Retrieved 17 July 2020.
- "Mozilla lays off 250 employees while it refocuses on commercial products". 11 August 2020. Retrieved 17 August 2020.
- "Servo's new home". blog.servo.org. Retrieved 17 November 2020.
- "Quantum - MozillaWiki". wiki.mozilla.org. Retrieved 28 October 2016.
- Bryant, David (27 October 2016). "A Quantum Leap for the Web – Mozilla Tech". Medium. Retrieved 28 October 2016.
- Blumenkrantz, Mike; Bergstrom, Lars (13 May 2015). "Servo: The Embeddable Browser Engine - Samsung Open Source Group Blog". Samsung Open Source Group Blog. Retrieved 28 October 2016.
- Dropping CEF support?, retrieved 7 November 2018
- Willis, Nathan (17 June 2015). "Parallel page rendering with Mozilla Servo". LWN.net. Retrieved 30 October 2016.
External links
Wikimedia Commons has media related to Servo (layout engine). |