You won't want to miss out on the world-class speakers at TNW Conference this year 🎟 Book your 2 for 1 tickets now! This offer ends on April 22 →

This article was published on April 5, 2013

With Google out of the picture, WebKit’s open-source developers plan removal of Chromium code and references


With Google out of the picture, WebKit’s open-source developers plan removal of Chromium code and references

With Google’s announcement yesterday to fork WebKit and build a new rendering engine called Blink, the WebKit team has announced plans to streamline the project. Since the rendering engine no longer needs to support the Chromium port, there’s a huge slew of code that can be removed.

Here’s the high-level plan:

Concepts we plan to remove:
Layering violations in WebCore/platform, where a Page* or Frame* is passed to a function
Supplementable and Supplement
#if USE(GOOGLEURL)
#if USE(V8)
#if !USE(JSC)
#if PLATFORM(CHROMIUM)
Skia
DOMFileSystem
WebLayer and its scrolling implementation
Features #defines that haven’t gained traction

Specific files we plan to remove:
.gyp build files
WebCore/bindings/v8
WebCore/bindings/scripts/*v8*
LayoutTests/platform/chromium*
WebKit/chromium
WTF/wtf/chromium
WebCore/platform/chromium
WebCore/*Chromium*
Source/Platform/chromium
ManualTests/chromium/
Tools/BuildSlaveSupport/chromium/
Tools/DumpRenderTree/chromium/

This is actually a good thing. Leaner code should not only ease development, but should speed it up as well. Furthermore, there are also security benefits to managing less: the more complex your software gets, the more potential there is for security holes.

Here’s what Google said yesterday:

The bulk of the initial work will focus on internal architectural improvements and a simplification of the codebase. For example, we anticipate that we’ll be able to remove 7 build systems and delete more than 7,000 files—comprising more than 4.5 million lines—right off the bat. Over the long term a healthier codebase leads to more stability and fewer bugs.

It’s not clear how much Chromium-specific code WebKit will be able to remove, but it’s certainly quite a large amount. The above paragraph from Google applies to both parties: at least in terms of efficiency, this is a good thing. Whether the Web will end up benefiting in the long term remains to be seen.

See also – Google’s Blink Q&A: New rendering engine will replace WebKit on all platforms in 10 weeks with Chrome 28 and Opera confirms it will follow Google and ditch WebKit for Blink, as part of its commitment to Chromium

Top Image Credit: Sebastian Danon

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with