Mozilla is making substantial changes that will improve everything from Gecko, the rendering engine to support for virtual reality. Learn about what Project Quantum is doing to modernize the way developers interact with the browser.
Mozilla is non-profit that aims to keep the internet healthy, open and accessible to all. 2017 is huge investment year for Mozilla. For starters, Gecko is a rendering engine that has been around longer than most browsers. It is currently undergoing huge changes that will revitalize the system and make it ready for the next 10–12 years.
Project Quantum is an attempt to retrofit and modernize large parts of Gecko and Firefox. Work on project Quantum began last year when they transitioned the build to a multi-process architecture which pays big dividends in terms of stability, security and performance. Changes also include individual rendering pipeline pieces in the browser.
Servo is an experimental browser that uses Rust (a Mozilla sponsored project). Servo makes parallel computing safe by default, provides memory safety features out of the box and makes writing concurrent code more streamlined which would otherwise be a mess of C++ and C. These features allow developers to focus on browser internals. If browser is faster, it makes it possible to handle code more gracefully and provides more room for developers to make more performant websites.
Quantum style will allow for computations can be made in parallel with styles changes on page, whether it be animations or DOM updates. This is done by using multiple threads within a process to re-compute style on the page in real time. This feature makes the computation of style much faster. On mobile, Quantum Style splits up work over threads and computes everything at the same speed, however, it uses less clock power and reduces battery consumption for the same style computations
Quantum DOM is changing the way multiple browser tabs interact. By using a multi-process model, two browser tabs can now interact. The Quantum DOM reduces the footprint on computer and by extension, resources used by Firefox. This works by prioritizing browser tasks by responding to user input and handling in-page events. It also delays running code for background tabs and pauses slow background tasks to run foreground tasks.
Quantum Flow is a conglomeration of performance improvements in Firefox. One of the main things that Quantum Flow does, is reduce and remove as many synchronous IP sync calls as possible. Rather, it focusses on high complexity DOM based web apps to make sure that the most performance critical and high use web apps run as smoothly as possible.
WebGL2 recently shipped releasing new features including more modern shader and texture features, better particle support and optimization that makes graphical computation go a bit faster.
Looking forward into the rest of the year, developers can expect to find more exciting changes in the realm of privacy and security web platform features and web extensions. To keep up with these additions, you can follow Matthew Claypotch on Twitter @potch.
By: Necoline Hubner