Showing posts with label IE 9. Show all posts
Showing posts with label IE 9. Show all posts

Tuesday, November 24, 2009

Microsoft isn't the only one developing a hardware-accelerated browser

Microsoft has shared very few details so far about Internet Explorer (IE) 9, but has said the company is planning to accelerate the performance of text and graphics rendering by taking advantage of the power of PCs’ graphics-processing unit (GPU).

Specifically, Microsoft officials said at the Professional Developers Conference last week that with IE9, it will be “moving all graphics and text rendering from the CPU (and GDI) to the graphics card using Direct2D and DirectWrite.” (Istartedsomething blogger Long Zheng posted a good write up on Microsoft’s hardware-acceleration plans for IE 9 last week, if you want more details.)

But as News.com reported on November 24, Microsoft isn’t the only browser provider planning to harness hardware acceleration. Mozilla is planning to do the same with Firefox. Firefox developers have posted a prototype demonstrating the ability to take advantage of Direct2D and DirectWrite. Google is interested in the possibilities of hardware-accelerating Chrome, as well, as News.com’s Stephen Shankland notes. Unsurprisingly, the Chrome team is keeping any plans, concrete or otherwise, close to the vest.

The Mozilla folks already are claiming they believe they’ll be first to deliver a hardware-accelerated browser. I’d bet they’re right. Microsoft officials aren’t saying when to expect a test or final version of IE 9. But if the IE team stays on the same trajectory that it followed with IE 8, I’d bet the earliest we’ll see a final version of IE9 is spring 2011. (My calculation? I’m betting Windows 8 will be released in summer/fall 2011, two years after Windows 7 was released to market, and that IE 9 — the version of the browser that will be part of Windows 8, will hit a few months earlier.)

Besides being unwilling to share dates, the Microsoft folks also are not yet talking about which versions of Windows they plan to support with IE 9. Will Microsoft still support XP machines with the next version of IE? There’s no word. My guess is IE 9 won’t work on XP. And based on the less-than-optimal way IE 8 runs on lower-memory XP machines, I’d say XP users might want to steer clear of it if it does run.
Read More

Monday, November 23, 2009

Microsoft's IE9 to tap hardware for speed boost

Rivals, including Mozilla and Opera, also working to boost their browsers' rendering speeds

Microsoft's next browser, Internet Explorer 9 (IE9), will offload image and text rendering chores to the PC's graphic processor, one way the company plans to increase the browser's overall performance, according to the firm's top IE manager.

But Microsoft won't be alone. Rivals including Mozilla, which makes Firefox, and Norwegian developer Opera, are working on ways to use a computer's graphics processor unit (GPU) to accelerate their browsers.

Microsoft last week revealed a few details about IE9, which has no set ship date or even a publicly-disclosed development plan. While acknowledging that the company had a lot of catching up to do, however, Steven Sinofsky, Microsoft's president of Windows and Windows Live, said that early work on IE9 had already shown significant performance strides.

In a follow-up interview, Dean Hachamovitch, the general manager for IE, explained one way that Microsoft would speed up IE9.

"One reason why you get such great value from PC hardware comes from the machine's graphics, [so] we're moving IE on top of the modern Windows graphics engine, DirectX," said Hachamovitch. Specifically, IE9 will ditch Windows' GDI (Graphics Device Interface) used by earlier versions for image rendering, and instead call on the Direct2D and DirectWrite APIs (application programming interfaces) to render two-dimensional images and text, respectively.

Those APIs shift the processing from the PC's CPU to its GPU. "Graphics hardware acceleration means that rich, graphically intensive sites can render faster while using less CPU," Hachamovitch said.

Although Hachamovitch declined to peg a goal for IE9's hardware-based acceleration, he said early results have been encouraging. "On top of GDI, we were seeing IE render at 5-10 frames per second. Users don't know whether that's [caused by] the network, or a site script, but it just seems kind of slow to them. Using [Direct2D], we're seeing 40, 50 or 60 frames per second. That's game-like responsiveness."

Because the image and text rendering -- DirectWrite results in much sharper text -- is done by Windows in conjunction with the GPU, there's nothing Web site or Web application developers will have to do to make their sites seem faster to IE9 users. "Web developers can take advantage of the hardware ecosystem's advances in graphics, but don't have to rewrite their sites to do that," Hachamovitch said.

Microsoft isn't alone in exploring graphics acceleration: The top engineers at Mozilla and Opera both said that their companies are pursing the same grail.

"We have our own projects to use OpenGL on open platforms, and Microsoft's APIs on Windows," said Mike Shaver, Mozilla's vice president of engineering. OpenGL, or Open Graphics Library, is an open-source set of function calls used to render two- and three-dimensional images.

Opera, like Mozilla, doesn't limit itself to building a browser for Windows only, as does Microsoft, and so faces the same cross-platform issues as Mozilla. But hardware acceleration is coming, argued Hakon Wium Lie, Opera's chief technology officer. "We're going to see hardware acceleration across the board," Wie said. "But we can't tie ourselves to a single API, like Microsoft."

Both Shaver and Lie noted that graphics-based browser acceleration would deliver even more benefits on mobile devices, such as smartphones. Mozilla is working on a mobile version of Firefox, dubbed Fennec, while the mobile version of Opera is much more popular than its desktop sibling.

Shaver said that hardware acceleration would debut in one of the upcoming editions of Firefox, although not in Firefox 3.6, which is slated to hit release candidate status later this month and ship before the end of the year. "We'll put it in when it's ready," Shaver said. Firefox 3.7, another minor upgrade, is set to wrap up in the first half of next year, while the major upgrade to Firefox 4.0 is currently scheduled for later in 2010.

Although some have accused Microsoft of ignoring available standards -- including OpenGL for rendering two-dimensional images -- charges that have been leveled against the company numerous times in the past over other issues, Shaver and Lie refused to be drawn into that conversation. "It would be nice if we could use OpenGL on Windows, but you have to play the cards that are dealt," Shaver said. "On Windows, DirectX and Direct2D are the only reasonable path right now, so for building a Windows browser, using the DirectX APIs is reasonable. Microsoft isn't doing anything that we wouldn't be able to do."

Shaver pointed out that Direct2D was only available on Windows Vista and Windows 7, a limiting factor. Most Windows PCs, however, still run the eight-year-old-and-counting Windows XP.

"Microsoft's approach is reasonable as long as [the APIs] remain documented," said Lie, who added that if they weren't, Opera would be the first to object. Opera has done that in the past by filing complaints with European antitrust regulators over Microsoft's bundling of IE with Windows, and IE's purported lack of support for widely-used Web standards.

"Hardware acceleration will deliver extraordinary performance [to IE9]," said Microsoft's Hachamovitch, something that Shaver and Lie echoed.

"Everyone will have a better experience on the Web," Lie agreed.
Read More

Friday, November 20, 2009

Internet Explorer 9 to sport GPU acceleration and HTML5 support



Even if you don't have a favored fighter in the browser wars, you have to admit Microsoft's Internet Explorer has been looking mighty unfit over the last few years. Younger and fitter contenders like Mozilla's Firefox and Google's Chrome have arguably overtaken the old stalwart, and now Microsoft is making some much-needed noise about fighting back. The software giant has been giving developers and curious journalists a very early peek into its IE 9 progress at PDC, with its stated ambitions including faster Javascript (see table above), HTML5 support, and hardware acceleration for web content. By harnessing DirectX and your graphics processor, the new browser will offer improvements in text readability and video performance, as well as taking some of the load off the CPU. Development has only just got under way, mind you, so there's still plenty of time to screw it all up. Or make it awesome.
Read More

Wednesday, November 18, 2009

With IE 9, Microsoft fights back in browser wars

With Internet Explorer 9, Microsoft showed Wednesday it's trying to retake the browser initiative.

IE remains the Net's dominant browser. But perversely, it became something of a technology underdog after Microsoft vanquished Netscape in the browser wars of the 1990s and scaled back its browser effort.

That left an opportunity for rivals to blossom--most notably Firefox, which now is used by a quarter of Web surfers, but also Apple's Safari, which now runs on Windows as well as Mac OS X, and Google's Chrome, which aims to make the Web faster and a better foundation for applications.

Microsoft has been pouring resources back into the IE effort, though, and at its Professional Developers Conference in Los Angeles, some fruits of that labor were on display. In particular, Windows unit president Steven Sinofsky showed off IE 9's new hardware-accelerated text and graphics.



The acceleration feature takes advantage of hitherto untapped computing power in a way that's more useful than other browser-boosting technology such as Google's Native Client to tap into a PC's processor and Mozilla's WebGL for accelerated 3D graphics, said Dean Hachamovitch, general manager of Internet Explorer.

"This is a direct improvement to everybody's usage of the Web on a daily basis," Hachamovitch said in an interview after Sinofsky's speech. "Web developers are doing what they did before, only now they can tap directly into a PC's graphics hardware to make their text work better and graphics work better."

Why go to all this trouble? In short, to help keep the Windows business alive and kicking.

"Our goal in building a great browser for consumers and for everyone is that they are Windows customers. That's at the core of it," Hachamovitch said.

He didn't bring it up, but it should be noted that an increasing fraction of Microsoft's business is moving online, too, through its Bing, Live, and now online Office 2010 sites. "We want to build a better IE so all the Web sites have a better experience," Hachamovitch said.

Turning up the heat
Microsoft began work on IE 9 just three weeks ago, Sinofsky said. But signs have been clear that the company has taken interest in its browser again.

When it arrived earlier this year IE 8 brought significant new security and privacy features, and in a significant departure Web developers appreciate, it attempts to follow various Web standards such as HTML (Hypertext Markup Language) and Cascading Style Sheets.

More recently, Microsoft joined the HTML standards effort in August. And earlier this month, Microsoft sent a dozen IE team members to a World Wide Web Consortium meeting.

"High-quality specifications that improve interoperability between browsers are important. Our goal is to help ensure these new standards work well for Web developers and will work well in future versions of IE," said Adrian Bateman, a Microsoft program manager who's involved in the standardization effort, describing the motivation. That point of view is music to the ears of programmers who struggle to make sure their Web sites work with the ever-wider variety of browsers on the Web today.

Hardware acceleration
Under the covers, the IE 9 acceleration works by employing Microsoft's Direct2D interface rather than its GDI (Graphical Device Interface). Direct2D provides a general way for software to take advantage of hardware acceleration for graphics, and IE 9 will employ it.

"It's a remarkably different level of performance," said Hachmovitch, who's using the technology. "It's like the difference between watching Pixar or an Xbox vs. watching an old PC chug along."

Direct2D also facilitates a technology called sub-pixel positioning that can smooth the appearance of text on the screen. That cuts eyestrain, he said.

In a video touting the Direct2D browsing technology, Microsoft showed off the acceleration effect on a map-based Web site. While panning the view one way or the other, "The map literally keeps up with your mouse," said Microsoft graphics developer Christian Fortini in the video


Earlier in November, Firefox surpassed 25 percent usage share of Web browsers, according to Net Applications.

With the old technology, that chore can update the screen at a rate of about 5 to 10 frames per second while using 50 to 60 percent of the processor's horsepower, but using the Direct2D method, the frame rate jumps to a range of 40 to 60 per second while the CPU usage plunges, Hachamovitch said.

Compatibility sales pitch
Hachamovitch touted Microsoft's approach as broadly relevant and compatible with the Web as it stands today. Unlike Native Client and WebGL, it doesn't require new programming skills for Web developers.

"Web sites didn't have to change behavior and code in a different way" to take advantage of the Direct2D technology, Hachamovitch said. "With a lot of other technologies, it takes a lot of work and a lot of time to figure out how to do something different. It isn't necessarily an interoperable, standards kind of thing--it's something from one particular vendor. We're taking interoperable implementations of things like CSS, things that developers are using and expect to work everywhere, and making them demonstrably better."

He didn't comment on whether Microsoft supports some Web standards for better graphics, including Canvas and Scalable Vector Graphics, but he did say the new display technology will broadly help whatever graphics technologies IE does support. "Once we're on top of this super-rich graphics infrastructure, all the graphics we do will have this," he said.

And although Microsoft certainly hasn't committed to it, Eliot Graff, an IE lead technical editor, is helping edit the Canvas interface at the W3C group.

Full standards support remains a sore point when dealing with IE. On one test, Acid3, IE 8 scores just 20 out of 100. IE 9 currently scores 32, and "the score will continue to go up," Hachamovitch wrote in the blog posting.

Faster JavaScript
The acceleration is one aspect of performance Microsoft is focusing on. Another is the execution of JavaScript, a programming language used widely on the Web for everything from mundane tasks to full-on applications such as Gmail and Google Docs.

In another Microsoft video, John Montgomery, a leader of IE's browser compatibility and tools team, shows off the browser tackling all the components of the SunSpider JavaScript speed test.

"We're whipping through these faster than (IE) 8 was," Montgomery said. "We're pretty early in the development process. There's still some stuff we can still squeeze out of the engine, but we're doing a lot better than we were."

Hachamovitch, though, takes pains to point out JavaScript isn't the only bottleneck for browsers. Even though JavaScript engines are important enough to warrant brand names these days--Chrome's V8, Firefox's TraceMonkey, Safari's Nitro, Opera's Futhark and Caracan--Microsoft's prefers to shine a light on nine other aspects of browser performance.

In a blog post about IE9, Hachamovitch shows how a variety of chores--two different news sites and two separate tasks in Microsoft's online version of Excel--exercise different parts of the browser.

"The work we do in performance involves many systems in the browser," he said. "As these script engines converge and effectively have the same performance, you realize all the other subsystems get more important. You need the other nine parts of the browser to work, too."
Read More

Tuesday, November 17, 2009

Internet Explorer 9 not coming at PDC

Although Microsoft intends to talk a bit about its plans for the future of Internet Explorer this week, the company won't offer preview code of its next browser, CNET has learned.

The software maker is also not planning to announce a move to the WebKit engine, as some had speculated.

In his opening keynote at the Professional Developers Conference on Tuesday, Chief Software Architect Ray Ozzie pledged that Microsoft will make Internet Explorer the absolute best Windows browser, but did not offer further details.

Microsoft is expected to talk more about its browser plans as part of Wednesday's keynote speech. During that talk, he is expected to talk about some--but not all--of its "focus areas" for the next browser version, a Microsoft representative told CNET.

The latest version of IE 8 was released in March and is also built into Windows 7. Despite the new release, though, Microsoft faces intense competition from Firefox as well as from Google and Apple.

In addition, Microsoft has struggled to get Internet Explorer users to move past IE 6.
Read More