Born from Firefox

Developers and startup founders use the Mozilla toolkits to build apps for diverse uses including music and video playing.

Laggy performance and "bloat" are criticisms that have been lobbed at more than a few applications built with the Mozilla toolkits. This may in part be due to the complexity of the codebase and the specialized skills required to master building with them. Says Flock's Stark: "Gecko is perhaps a little more difficult to work with than various other codebases like ObjC for OS X and .NET for Windows.

"The codebase isn't completely optimized for performance to start with, but it's not horrible by any means. Performance issues probably have more to do with new code added, which tends to be less mature than the platform itself. For Firefox, it appears that poorly-written extensions contribute to slow and memory-intensive behavior. One of the reasons for integrating features into Flock was to allow the package to be tested and optimized as a whole."

In the Celtx team's experience working with XULRunner, they found that performance issues can usually be traced to an over-reliance on JavaScript to handle complex processing. "JavaScript is the 'duct tape' of the XUL toolkit. Overuse of it will likely lead to performance problems. Creating a small XPCOM component is a better choice for complex processing," Dawson recommends.

Nassar of Miro agrees but feels it is an acceptable trade-off for having the flexibility of an XML document-based UI: "For many projects, the advantages outweigh the performance hit. In our case, it made embedding a browser for the HTML part of our UI easy, and it made the thin chrome around our HTML-based interface easier to code, because we could leverage a web designer's skills. It didn't affect performance much, since we use HTML/CSS, which is slow anyway."

The Flock developers found that the simplest solution for dealing with issues related to the Mozilla toolkit was also the most non-technical: Collaborate with the Mozilla development community and make your presence positive within it. There is a finite number of people who really understand how to work the Mozilla platform well. It is a lesson he and his group learned early on.

"Flock started out as a less-than-exemplary citizen in the Mozilla ecosystem," he admits, "but every step we have made towards better representation in the community has come back to us in the form of strengthened relationships and better overall knowledge of the platform. Relationships with experienced folks will probably help you avoid some of the more difficult areas of the codebase."

It is this community which, Songbird's Lord enthuses, contributes to "history in the making" for the Mozilla development platform:

"You have to ask yourself: How the hell was Firefox so successful in the first place? How did it manage to get 400 million downloads? It is a little slower, and it is a little bloated. No company was supporting it. There was no marketing dollars. I think it really is [that] the open source, open standards, open web approach is the safest bet you can make [for] a single vendor solution."

Join the PC World newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Howard Wen

Show Comments

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?