Mozilla’s new Firefox browser engine to provide “quantum leap” in performance

firefox os
Mozilla in Europe/Flickr
While most eyes were glued to Apple’s press event on Thursday revealing new MacBook Pros, Mozilla’s Head of Platform Engineering David Bryant made a reveal of his own: Firefox is receiving a new browsing engine called Quantum. Slated to arrive by the end of 2017, Quantum will replace the current Gecko engine, which is responsible for presenting and running all content on the internet.

Mozilla chose the Quantum name because the next-generation engine will provide a “quantum leap” in performance on mobile and desktop. To put this in perspective, Gecko started out in the Netscape browser released in 1997 and has been modified over time to support new technologies. Quantum is built from the ground up to support the latest hardware and technologies, such as HTML5.

“We are striving for performance gains from Quantum that will be so noticeable that your entire web experience will feel different,” Bryant writes. “Pages will load faster, and scrolling will be silky smooth. Animations and interactive apps will respond instantly, and be able to handle more intensive content while holding consistent frame rates.”

More specifically, the new Quantum engine will be fine-tuned for processors with more than one core. Gecko was created in an era of single-core processors and the emergence of stand-alone graphics cards. Now multi-core CPUs and GPUs are seemingly standard across the device board, and many desktop customers even install more than one graphics card in their systems. Quantum will supposedly take advantage of all this high-performance hardware.

So, by supporting multiple cores in a processor, rich multimedia experiences are rendered more easily and quickly. Plus, a good chunk of the load can be dumped off onto the graphics card as well, given it is capable of computing outside the graphics realm. Thus, Quantum will improve on Gecko by replacing major engine components, and incorporate components from Mozilla’s Servo project, a web engine created by a dedicated community sponsored by Mozilla.

Bryant said that many Quantum components are written in Rust, a somewhat new systems programming language. He calls this platform “blazing fast,” as it simplifies the development of applications designed to use multiple processor cores and the graphics chip in parallel. Even more, Rust will not compile code if the safety of the processing thread and memory cannot be secured.

Here are all the current components of the Quantum project pulled from Mozilla’s wiki:

Component Description
Rust-bindgen: A C++ bindings generator for the Rust language. Quantum uses rust-bindgen to generate the glue code between Firefox’s C++ code and Servo’s Rust components.
Quantum CSS: Aims to integrate Servo’s parallelized CSS style system into Gecko.
Quantum Render: Servo’s next-generation renderer optimized for GPU rendering. The Quantum Render project aims to ship WebRender as the graphics backend for Firefox.
Quantum Compositor: Moves Gecko’s compositor into its own process.
Quantum DOM: Will make Gecko more responsive, especially when there are a lot of background tabs open.
Quantum Flow: Will explore performance improvements not covered by the other Quantum components, such as UI optimizations.

Mozilla notes that by moving the compositor into its own process, Firefox should be more stable. As it stands now, the code that interacts with graphics chips is part of the Gecko engine, so when there is an instability issue with the chip’s drivers, Firefox will crash. This aspect has been a major source of Firefox crashes for some time and separating the compositor from the engine should help tremendously.

“Quantum is an ambitious project, but users won’t have to wait long to start seeing improvements roll out,” he added. “We’re going to ship major improvements next year, and we’ll iterate from there. A first version of our new engine will ship on Android, Windows, Mac, and Linux. Someday we hope to offer this new engine for iOS, too.”

Check out the Quantum section of Mozilla’s wiki to see how this engine will improve Firefox’s performance. Too bad we will not see the first signs of Quantum until the end of 2017.

Product Review

Microsoft’s Surface Laptop 2 launched last year, but already feels old

Released in fall of 2018, the Surface Laptop 2 was competitive at the time but now must deal with new competitors that were announced at CES 2019. How does the popular Surface Laptop 2 hold up six months later?

Get ready to slay spiders and skeletons in real life with Minecraft Earth

Minecraft Earth is the new augmented reality mobile game that uses the Minecraft engine. We have everything you need to know including the release date, features, price, phone compatibility, and more.

HP packs second screens, liquid metal, and RTX graphics in new Omen laptops

HP's new lineup of gaming laptops includes some unique specimens from the Omen range. They all offer high-end Nvidia RTX graphics, but a new Omen X model sports a second screen in the base purely for chat and media functions.

The new ThinkPad X1 Extreme has a 4K OLED screen and a Core i9 processor

The ThinkPad X1 Extreme is one powerful laptop, and now Lenovo has announced its second generation. The new version comes with a vibrant 4K OLED display and the latest 9th-gen Core i9 processor.

Jeff Bezos breaks ground on $1.5B Amazon cargo hub for 100 Prime Air planes

Amazon has all kinds of plans to speed up delivery times, but none come bigger than the $1.5 billion air cargo hub that it's building in Kentucky for up to 100 of its Prime Air cargo planes.
Home Theater

Spotify hits repeat on its Premium special offer: $1 a month for 3 months

Back by popular demand it seems, or perhaps to bolster demand, Spotify is relaunching its $1 for three months of its Premium-tier service for anyone who has not previously signed up for a subscription, for a limited time.

Verizon’s 5G is blazing fast on the Galaxy S10 5G, if you’re on the right block

The Samsung Galaxy S10 5G is finally here, and we went to Chicago to test its 5G connectivity capabilities on Verizon's 5G network. Like with the Moto Z3 and Moto Mod, service is still limited, but it's super fast.

Google’s new Trips site aims to help with all of your travel planning

Google seeks to ease your travel planning with Trips, a new online site that lets you explore destinations, research airline flights, check out hotels and view current package deals.

5G your old phone: HTC’s 5G Hub is now available for pre-order from Sprint

HTC almost made a phone. The HTC 5G Hub runs Android 9 Pie, has a Qualcomm 855 processor with the X50 modem, 4GB of RAM, and an HD touchscreen -- but it's a hot spot designed to connect to 5G networks.

The 15 best tech jobs boast top salaries, high satisfaction, lots of openings

Late spring weather isn’t the only thing heating up. The technology sector offers some of the hottest jobs in the country, and talent and experience are in high demand. May is blooming with thousands of high-paying positions all over the…
Social Media

Be the master of your own Insta-verse with multiple Instagram accounts

Whether you own a small business or have separate Instagram accounts for your five cats, we'll walk you through the process of switching between your multiple accounts on your Apple or Android devices.