Servo
Servo页面渲染效果 | |
| 原作者 | Mozilla公司 |
|---|---|
| 开发者 | Linux基金会 |
| 当前版本 | |
| 源代码库 | |
| 编程语言 | Rust |
| 操作系统 | Windows、macOS、Android、OpenHarmony |
| 类型 | 排版引擎 |
| 许可协议 | MPL 2.0[4][5] |
| 网站 | servo |
Servo是一个由Mozilla开发的实验性网页浏览器排版引擎,该项目旨在创造一个大规模平行计算的环境,其中许多组件(如渲染、布局、HTML解析、图像解码等)都是并行的[6][7]。并且利用GPU加速来快速和流畅地渲染网页[8][9]。此项目与Rust编程语言有共生的关系。
Servo使用的两个重要组件基于Mozilla现有的C++代码。JavaScript支持由SpiderMonkey提供,2D图形库Azure用于与OpenGL和Direct3D交互。[10]
发展
[编辑]
Servo发展始于2012年。2012年2月8日第一次提交没有包含任何原始码[11]。2012年3月27日第一个基本代码提交[12]。
2013年4月3日,Mozilla宣布和三星合作开发Servo[13][14]。三星的主要贡献是将Servo移植到Android和ARM处理器上[15]。一位三星开发者还尝试在Servo中重新实现Chromium嵌入式框架API[16],但最终未能成功,该代码最终被移除[17]。
2014年11月,Servo在某些基准测试中的速度明显快于Gecko和其他排版引擎[18][19],并成功通过了Acid2测试。它具有诸如并行排版演算法以及在Rust中实现的自己的CSS3和HTML5解析器[20][21]。Servo利用GPU加速技术更快速和流畅地呈现网页[22][23]。
2016年6月30日,Mac和Linux的预览版可供下载[24]。2017年4月13日,构建版可用于Windows[25]。
2017年,随著Firefox 54的发布,Mozilla将Servo CSS样式引擎整合到了其Gecko浏览器引擎[26]。
2020年8月,受到严重特殊传染性肺炎疫情影响,由于缺乏资金和组织重组,Mozilla裁撤了大部分Servo开发团队[27]。2020年11月17日起,Servo由Linux基金会接管[28][29]。
2024年7月,Servo加入了对OpenHarmony的试验性支持。[30]
参考资料
[编辑]- ^ Release 0.0.3. 2025年12月16日 [2025年12月16日].
- ^ Michael Larabel. Servo 0.0.3 Browser Engine Brings Better Performance, Embedding Improvements. Phoronix. 2025年12月16日 [2025年12月18日].
- ^ "November in Servo: monthly releases, context menus, parallel CSS parsing, and more!"; 副标题: All of these updates are in Servo 0.0.3.; 检索日期: 2025年12月18日; 出版日期: 2025年12月15日.
- ^ Mozilla Foundation End-User Licensing Agreements. [2014-12-15]. (原始内容存档于2014-10-21).
- ^ Mozilla Licensing Policies. mozilla.org. [2013-03-26]. (原始内容存档于2013-07-15).
- ^ Moffitt, Jack. Another Big Milestone for Servo—Acid2. 17 April 2014 [26 November 2015]. (原始内容存档于2016-05-17).
- ^ Servo Continues Pushing Forward. servo.org. 1 May 2015 [26 November 2015]. (原始内容存档于2025-01-26).
- ^ Bergstrom, Lars. Mozilla's Project Quantum and Servo. mozilla.dev.servo - Google Groups. [9 November 2016]. (原始内容存档于2019-03-14).
- ^ Clark, Lin. The whole web at maximum FPS: How WebRender gets rid of jank. Mozilla Hacks – the Web developer blog. 10 October 2017 [22 October 2017]. (原始内容存档于2017-11-04).
- ^ Willis, Nathan. Parallel page rendering with Mozilla Servo. LWN.net. 17 June 2015 [27 June 2015]. (原始内容存档于2016-04-06).
- ^ initial add · servo/servo@ce30d45. [2017-11-09]. (原始内容存档于2019-02-17).
- ^ Add some stubs and a makefile · servo/servo@783455f. [2017-11-09]. (原始内容存档于2019-02-17).
- ^ Mozilla and Samsung Collaborate on Next Generation Web Browser Engine. [2017-11-09]. (原始内容存档于2017-10-23).
- ^ Mozilla, Samsung team up on 'Servo' next-gen browser engine. [2017-11-09]. (原始内容存档于2017-11-09).
- ^ Samsung teams up with Mozilla to build browser engine for multicore machines. Ars Technica. 3 April 2013 [24 October 2014]. (原始内容存档于2016-12-16).
- ^ Blumenkrantz, Mike; Bergstrom, Lars. Servo: The Embeddable Browser Engine - Samsung Open Source Group Blog. Samsung Open Source Group Blog. 13 May 2015 [28 October 2016]. (原始内容存档于2015-05-13) (美国英语).
- ^ Dropping CEF support?, [7 November 2018], (原始内容存档于2012-02-14) (美国英语)
- ^ Larabel, Michael. Mozilla's Servo Engine Is Crazy Fast Compared To Gecko. Phoronix. [10 May 2016]. (原始内容存档于2017-10-24).
- ^ Mozilla's Servo Is Whooping The Other Browsers In Performance. Phoronix. [10 May 2016]. (原始内容存档于2017-09-30).
- ^ Moffitt, Jack. Another Big Milestone for Servo—Acid2. April 17, 2014 [2015-11-26]. (原始内容存档于2016-05-17).
- ^ Servo Continues Pushing Forward. May 1, 2015 [2015-11-26]. (原始内容存档于2016-04-07).
- ^ Bergstrom, Lars. Mozilla's Project Quantum and Servo. mozilla.dev.servo - Google Groups. [9 November 2016]. (原始内容存档于2019-03-14).
- ^ Clark, Lin. The whole web at maximum FPS: How WebRender gets rid of jank. Mozilla Hacks – the Web developer blog. 10 October 2017 [22 October 2017]. (原始内容存档于2017-11-04).
- ^ Servo Nightly Builds Available. Servo Blog. 30 June 2016 [2017-11-09]. (原始内容存档于2017-10-11).
- ^ Windows nightly builds now available. Servo Blog. 13 April 2017 [2017-11-09]. (原始内容存档于2017-12-26).
- ^ Servo engines written in Rust deliver memory safety and multithreading. Mozilla Research. [2020-07-05]. (原始内容存档于2022-01-12) (美国英语).
- ^ Mozilla lays off 250 employees while it refocuses on commercial products. 2020-08-11 [2020-08-17]. (原始内容存档于2022-03-18).
- ^ Servo’s new home. blog.servo.org. 2020-11-17 [2021-03-16]. (原始内容存档于2021-05-20).
- ^ WinterIsComing (编). Servo 成为 Linux 基金会托管项目. Solidot. 2020-11-18 [2021-01-10]. (原始内容存档于2022-04-26).
- ^ Servo Web Engine现在可利用多个CPU核心渲染HTML表格 - 网络应用. cnBeta.COM. 2024-07-31 [2025-10-10] (中文(中国大陆)).