Google parts ways with Apple over WebKit, launches Blink
Both Chrome and Safari will move faster when uncoupled from each other, Google argues. But it's not just about technology: Social issues also factored into the schism.
Stephen Shanklandprincipal writer
Stephen Shankland has been a reporter at CNET since 1998 and writes about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertiseprocessors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, scienceCredentials
I've been covering the technology industry for 24 years and was a science writer for five years before that. I've got deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and other dee
A years-long marriage of convenience that linked Google and Apple browser technologies is ending in divorce.
In a move that Google says will technologically liberate both Chrome and Safari, the company has begun its own offshoot of the WebKit browser engine project called Blink. Initially it uses the same software code base that all WebKit-based browsers share, but over time it will diverge into a totally separate project, Google announced today.
The move marks the end of years of direct WebKit programming cooperation between the two rivals. WebKit is an open-source project, meaning that anyone can use and modify the software, but previously Google and Apple were all contributing to the same code base. With Blink, each company will go its own way, working separately to add new features and to support new Web standards rather than being able to capitalize on the other's work.
Major "forks" in open-source projects can be divisive and bitter, though a certain collegiality among Web programmers seems likely to forestall that negative outcome in the case of Blink. The pains of forking WebKit into Blink are worth it, argued Linus Upson, the Google vice president of engineering for Chrome.
"We're confident this will allow us to move faster and allow the rest of the WebKit community to move faster, which ultimately will allow the Web to move faster," Upson said.
The Blink name is a reference to the despised and now extinct blink tag of early HTML that made text blink off and on. It follows the pattern of Google naming projects after what it deems relics from the past: Chrome is designed to minimize user-interface "chrome" that surrounds Web pages; the Chromebook Pixel's high-resolution screen is designed to make pixels disappear; and Blink is designed to do away with browser engine irritations.
WebKit is a browser engine, software with the job of processing Web pages' instructions and rendering the result on a computing device's screen. Google used WebKit to give its browser a running start, but now Chrome is mature enough to stand on its own.
It's not just technical matters that led to the split, though. There never has been a single WebKit agenda for Apple and Google, and social tensions persisted as the two groups tried to work together.
Technical differences: Multiprocess design
One major example of how the Apple and Google WebKit projects have diverged involves how the browsers divide up computing processes running in parallel.
"Chromium has a very different multiprocess architecture than the other WebKit-based browsers," said Alex Komoroske, product manager for Google's Open Web Platform team. And because that's such a foundational part of the software, not some high-level module tacked onto the core, it's really hard to accommodate multiple approaches, he said.
One example of something Google would like to do is assign different sections of Web pages called iframes to various computing processes. "It would be great for security and stability and performance if we could have iframes embedded in pages be a separate process," Komoroske said. "But it would require a lot of change that would really disrupt the rest of the WebKit community."
As Web apps have become more sophisticated and the Internet has become a foundation for so much work, entertainment, communication, and learning, Web engines have risen commensurately in importance. They're now effectively operating systems unto themselves -- sometimes explicitly, as in the case of Google's Chrome OS and Mozilla's Firefox OS. Those heavy browser responsibilities mean core design decisions, such as multiprocess management, are critical.
Initially, Blink and WebKit will be identical as the former first splits off from the latter. But from that point forth, divergence becomes a reality.
"Over time they'll evolve in different directions, which will make it harder to share code," Komoroske said. "It'll be increasingly difficult to share a straightforward patch."
That forking also means others using the WebKit engine -- a list that includes Samsung, BlackBerry, Opera, Amazon, and others -- will have to decide which side of the fence they want to end up on.
WebKit growing pains
In principle, WebKit benefits from many contributors and from a dominant foothold among mobile browsing by virtue of iOS and Android. In practice, however, WebKit has been fragmenting as more and more parties get involved.
In addition to Opera's big move, Google and Apple have also been expanding WebKit. Previously, Google's Android browser was a separate project, although based on WebKit, but the company pulled it into the main WebKit code base as it built Chrome for Android.
And Apple is doing the same thing, "upstreaming" elements of its iOS browser into the main WebKit project rather than maintaining them downstream in a separate software repository. (Open-source software development is an exercise in metaphor: Code comes in trees that can branch or fork into separate projects, and code changes can flow downstream to subprojects or upstream to higher-level master repositories.)
Apple's iOS move illustrated some frictions between Google and Apple engineers.
If we'd taken an equally hard line when Google wanted to merge the Chromium port to trunk, with a number of design choices in place that we didn't agree with but which were hard to change, it probably still wouldn't be in the tree to this day. I don't think that would have been a good thing for the WebKit project.
Perhaps the most succinct summary of the situation came in a long post titled "WebKit wishes" by Chrome programmer and former Safari programmer Eric Seidel. He pointed to the difficulties of supporting no fewer than eight separate systems for building software off the same code base; to the lack of an overarching decision-making process to decide upon what new features to bring to a huge fraction of Web users; and to social difficulties between the Apple and Google teams:
The WebKit community is full of brilliant engineers. Yet I frequently feel a lack of trust in my (or others') judgment, or witness hot-headed remarks on bugs, lists or IRC...Social problems are perhaps harder to solve for us technical types, but I worry that for many of us it's just become "us" and "them," and we've stopped trying.
WebKit's power on the Web -- especially in the mobile world -- has triggered some angst and teeth-gnashing. Mozilla and Opera, for example, fretted when Web programmers built mobile sites that worked only with WebKit browsers.
But Blink means that some of that independence is returning.
"It's our belief that having multiple rendering engines will spur innovation," Komoroske said. "In the long term, we're increasing our commitment to standards."
One downside of that independence means that Web programmers will have to test their sites with more browsers. To invoke existing features that aren't yet standards on Blink, programmers will be able to use the "-webkit" prefix in their code. For new features, Google wants to avoid such prefixes altogether by adopting Mozilla's practice of keeping immature features behind a flag. Users must specifically set the flag before the feature is enabled.
Another downside is that programmers won't be able to share as much work supporting new features.
"By sharing the code base, we gain certain efficiencies," Upson said. Overall, though, it's worth it, he argued. There are inefficiencies, too, in trying to get engineers to agree on a single approach or to accommodate different approaches. "We only wanted to do this if the net efficiency gain would be positive for everyone."