Showing posts with label google. Show all posts
Showing posts with label google. Show all posts

Thursday, May 2, 2013

Does WebKit face a troubled future now that Google is gone?

Aggressive streamlining of Blink, WebKit causes headaches for all.

Credit: Aurich Lawson / Thinkstock


Now that Google is going its own way and developing its rendering engine independently of the WebKit project, both sides of the split are starting the work of removing all the things they don't actually need.
This is already causing some tensions among WebKit users and Web developers, as it could lead to the removal of technology that they use or technology that is in the process of being standardized. This is leading some to question whether Apple is willing or able to fill in the gaps that Google has left.
Since Google first released Chrome in 2008, WebCore, the part of WebKit that does the actual CSS and HTML processing, has had to serve two masters. The major contributors to the project, and the contributors with the most widely used browsers, were Apple and Google.
While both used WebCore, the two companies did a lot of things very differently. They used different JavaScript engines (JavaScriptCore [JSC] for Apple, V8 for Google). They adopted different approaches to handling multiple processes and sandboxing. They used different options when compiling the software, too, so their browsers actually had different HTML and CSS features.
The WebCore codebase had to accommodate all this complexity. JavaScript, for example, couldn't be integrated too tightly with the code that handles the DOM (the standard API for manipulating HTML pages from JavaScript), because there was an intermediary layer to ensure that JSC and V8 could be swapped in and out.
Google said that the decision to fork was driven by engineering concerns and that forking would enable faster development by both sides. That work is already under way, and both teams are now preparing to rip all these unnecessary bits out.
Right now, it looks like Google has it easier. So far, only Google and Opera are planning to use Blink, and Opera intends to track Chromium (the open source project that contains the bulk of Chrome's code) and Blink anyway, so it won't diverge too substantially from either. This means that Google has a fairly free hand to turn features that were optional in WebCore into ones that are permanent in Blink if Chrome uses them, or eliminate them entirely if it doesn't.
Apple's position is much trickier, because many other projects use WebKit, and no one person knows which features are demanded by which projects. Apple also wants to remove the JavaScript layers and just bake in the use of JSC, but some WebKit-derived projects may depend on them.
Samsung, for example, is using WebKit with V8. But with Google's fork decision, there's now nobody maintaining the code that glues V8 to WebCore. The route that Apple wants to take is to purge this stuff and leave it up to third-party projects to maintain their variants themselves. This task is likely to become harder as Cupertino increases the integration between JSC and WebCore.
Oracle is working on a similar project: a version of WebKit with its own JavaScript engine, "Nashorn," that's based on the Java virtual machine. This takes advantage of the current JavaScript abstractions, so it's likely to be made more complicated as Apple removes them.
One plausible outcome for this is further consolidation among the WebKit variants. For those dead set on using V8, switching to Blink may be the best option. If sticking with WebKit is most important, reverting to JSC may be the only practical long-term solution.
Google was an important part of the WebKit project, and it was responsible for a significant part of the codebase's maintenance. The company's departure has left various parts of WebKit without any developers to look after them. Some of these, such as some parts of the integrated developer tools, are probably too important for Apple to abandon—even Safari uses them.
Others, however, may be culled—even if they're on track to become Web standards. For example, Google developed code to provide preliminary support for CSS Custom Properties (formerly known as CSS Variables). It was integrated into WebKit but only enabled in Chromium. That code now has nobody to maintain it, so Apple wants to remove it.
This move was immediately criticized by Web developer Jon Rimmer, who pointed out that the standard was being actively developed by the World Wide Web Consortium (W3C), was being implemented by Mozilla, and was fundamentally useful. The developer suggested that Apple had two options for dealing with Google's departure from the project: either by "cutting out [Google-developed] features and continuing at a reduced pace, or by stepping up yourselves to fill the gap."
Discussion of Apple's ability to fill the Google-sized gap in WebKit was swiftly shut down, but Rimmer's concern remains the elephant in the room. Removing the JavaScript layer is one thing; this was a piece of code that existed only to support Google's use of V8, and with JavaScriptCore now the sole WebKit engine, streamlining the code makes sense. Google, after all, is doing the same thing in Blink. But removing features headed toward standardization is another thing entirely.
If Apple doesn't address Rimmer's concerns, and if Blink appears to have stronger corporate backing and more development investment, one could see a future in which more projects switch to using Blink rather than WebKit. Similarly, Web developers could switch to Blink—with a substantial share of desktop usage and a growing share of mobile usage—and leave WebKit as second-best.
Credit: Peter Bright / Peter is a Microsoft Contributor at Ars. He also covers programming and software development, Web technology and browsers, and security. He is based in London, UK. 

Monday, February 11, 2013

THE EDUCATION OF GOOGLE’S LARRY PAGE




Larry Page is surrounded. On one side, Google’s (GOOG) chief executive officer confronts Facebook, the social networking phenom that is about to go public. On his other side isApple (AAPL), which has moved the playing field off the desktop computer—Google’s fiefdom—and onto smartphones and tablets. Thus Page, who became CEO of Google a year ago, has the task of steering the company he co-founded through territory defined by two rivals while fending off accusations that his brainchild has become yet another lumbering monopolist or, worse, a follower.

Sitting for an April 3 interview at the Googleplex in Mountain View, Calif., Page bridles at any suggestion that Google isn’t the destiny-defining innovator it once was. He’s wearing geek business casual—fleece jacket, logo shirt, jeans, black Converse sneakers. “Producing the best [products] we possibly can for users is our paramount thing,” he says. “I think we have demonstrated that over a very long period of time, with a whole variety of different issues we’ve faced around the world.”

Page isn’t the first founder to reassert himself as leader of the company he helped to create. There was Howard Schultz’s return to run Starbucks (SBUX), which has worked out well, and Michael Dell’s reclaiming the reins of his eponymous PC maker, which has not. For a still-young tech entrepreneur such as Page, Steve Jobs’s triumphant homecoming at Apple in 1997 is the most obvious benchmark of success. Their situations aren’t totally analogous—unlike Jobs, Page never left the company he founded. Though the comparison is apt in one important way: In the 1990s, Apple needed a more sophisticated operating system to navigate changes in the computing landscape, and so bought Jobs’s company, NeXT. Today, Google also needs to figure out a new world, in which its users increasingly see the Web through the lens of their friends, instead of a cold, calculating algorithm. Although Google started social networks such as Orkut in the last decade, Page acknowledges that the company underestimated the power of friending. “Our mission was organizing the world’s information and making it universally accessible and useful,” he says. “I think we probably missed more of the people part of that than we should have.”

Google’s tardy embrace of social networking and its other moves, such as the strict terms it dictates to licensees of its Android operating system, have opened the company up to the kind of criticism it rarely encountered during its days as a mere colossus-in-the-making. Antitrust authorities in the U.S. and Europe are investigating whether Google gives preference to its own content in Internet search results instead of being a neutral arbiter. Privacy watchdog groups are calling Google out on changes to its privacy policies, charging that it has abused its users’ trust. Bloggers now routinely wonder if the company is doing evil, a caustic play on Google’s famous dictum in its 2004 initial public offering prospectus. A recent headline on the technology site Gizmodo hyperbolically summed up the stew of distrust: “Google’s Broken Promise: The End of ‘Don’t Be Evil.’”

Page smiles at the charge. Google, he insists, has not really changed at all. “Our soul is the same,” he says. “What we’re about is using large-scale technology advancements to help people, to make people’s lives better, to make community better. If you look at the river of things we’re doing, like automated cars and things like that, those things are fundamentally about [using technology] to help people. And I think there is still a huge amount of that to be done.”

With Sergey Brin, Page founded Google in 1998 at the age of 25. By any measure, the company is among the most remarkable in the history of Silicon Valley, growing from a research project at Stanford to a multibillion-dollar global behemoth in a little more than a decade. Yet by the time Page took command last April, Google had grown unfocused and unwieldy. A freewheeling atmosphere of invention and curiosity spawned countless unpolished, unsuccessful products. (Take Google Buzz. No, really, take it!) The previous CEO, Eric Schmidt, was spending much of his time on the road, focusing on the company’s mounting problems with antitrust and privacy regulators and dousing controversies such as the interception of home networking data by Google’s roving, camera-equipped Street View cars.

An ongoing discussion among Google’s leaders about refocusing the company around key product lines precipitated Schmidt’s decision to step aside. Now Google’s executive chairman, Schmidt is still the public face of the company at industry conferences and government hearings. Brin, Page’s co-founder, works on futuristic technology products, such as augmented-reality glasses. As CEO, Page handles the day-to-day decisions—and takes the blame when things go wrong. “He’s probably working harder than anyone at Google right now,” says Sundar Pichai, senior vice president of the group that makes the Chrome browser.

Twitter Delicious Facebook Digg Stumbleupon Favorites More