Why Mozilla Is Committed To Using Gecko
Ars Technica has published an article about Mozilla's commitment to use the Gecko rendering engine instead of using Webkit, which was adopted by Apple and Google for use in the Safari and Chrome browsers. I have been using Chrome on my work PC and find many of its features compelling, and wonder how soon we will see its best innovations in Firefox. Why is Gecko worth keeping if it is outdated and bloated?
Because it has a cooler name than the boring sounding WebKit. Besides, it'll save you 15% on car insurance.
McCain/Palin '08. Now THAT's hope and change!
Why is Gecko worth keeping if it is outdated and bloated?
Because it's bloated as a single app, but less bloated then opening up a new process (or more than one!) for every single web page loaded. Until every computer in use has multi-gigabyte memory, including handheld devices, there will be a need for something lighter than webkit
Variety is the spice of life. If every browser used the same engine, there'd be no competitive spirit to improve it. Besides, when was a monoculture ever a good thing?
I've been using Konqueror for my primary browser for several years now, but still respect the Mozilla group and wish them the best of luck. As long as everyone follows the standards (which the Open Source browser folks have excelled at), the more the merrier!
Dewey, what part of this looks like authorities should be involved?
Holy begging the question Batman!
Yes, I did check Wikipedia to make sure a million angry slashdotters weren't going to kill me for its usage.
This article ignores the real question: Why change? I personally see nothing 'outdated' or 'bloated' about Gecko, and there is no point in changing if Webkit provides no real advantage.
It's required for the XUL based interface?
Similes are like metaphors
Why is Gecko worth keeping if it is outdated and bloated?
You've begged the question, there. The fact is that Gecko isn't outdated and bloated. Mozilla has kept the code up-to-date. They've improved rendering and javascript performance remarkably in recent Firefox releases.
Personally, I'd rather see alternatives being independently developed and improved; all the while competing with each other for mindshare and technical superiority. The alternative, of relying on a single rendering engine for all browsers, is a bad idea. History has taught us it will lead to stagnation and quirky (rather than standards-compliant) rendering.
"Why is Gecko worth keeping if it is outdated and bloated?"
may be the same as saying...
"Commitment... instead of using Windows.... Why is UNIX worth keeping if it is outdated and bloated?"
Maybe it isn't outdated and bloated... we are not talking about the netscape code here.
The whole of the Mozilla code tree is tied into a framework called XPCOM. It is a Cross-Platform reimplementation of Microsoft's COM. The XPCOM influence is extremely pervasive throughout the whole of the Mozilla/Firefox/Thunderbid/Sunbird/Gecko code trees.
WebKit would not fit in very well with the existing ecosystem because it does not tie into the XPCOM framework which is used to tie all of the Mozilla group's projects together. A lot of the potential performance benefits of moving to WebKit would be lost because of all the bridging between WebKit and XPCOM that would be required.
-- There are three kinds of mathematicians: those who can add and those who can't.
Sorry, chrome is cute, but until someone implements adblock and flashblock plugins for it, it stays idle.
The Mozilla crew are still pissed at David Hyatt for choosing Konqueror over Gecko as "the best open source rendering engine available" when he defected from Mozilla to Apple.
That's why they will never consider WebKit. Too much pride.
cat
He's going from talking about rendering engine (webkit/gecko) to talking about how great the features are in Chrome (not the rendering engine, the browser). Then back to rendering engine (gecko). What exactly is your topic?
Just a hunch, but the writer doesnt sound intelligent enough to know the features of a rendering engine.
Recently, I'm seeing some indirect evidence of memory corruption in FF. After a while it fails to download images or connect to the network, for example. You restart the process and it all works like buttah again. Heck, Internet Explorer is more stable than this.
I guess fixing hard to repro bugs is far less glorious a job than bolting on a new JS interpreter (even though the old one was OK to begin with) or tweaking the UI.
Why does everyone and his little dog think that replacing with a garbage collector is the way to make better code?
I don't think GC is a bad idea, but as a first and only method of object lifetime management I think its a solution looking for a problem - ie there are better means of making your code more reliable (RAII for example).
In TFA they refer to XPCOM's reference counting as needing replacement. I can't help thinking they'd just be replacing it with something else equally complex (for the entire application, obviously), and the last thing I want from Firefox 4 is increased memory usage!
While it is certainly true that the mozilla codebase has a rather sordid past, its trajectory has been extremely encouraging(particularly given that it essentially includes its own cross platform widget set, used by mozilla apps and a few others). Javascript performance is competitive with the best, memory performance has steadily improved, and rendering support is quite credible.
I can understand why a third party, starting a project from scratch, might be disinclined to use Gecko; but Gecko seems to be very much on the worthwhile side of the "improve vs. scrap" question.
What no one has noticed is that Google is after the people that spend money. Right now those people are all after the iPhone. Guess which render engine works on iPhone. Guess which one would allow them to get chrome on the iPhone ASAP.
Web Kit also has the benefit of Apple techs making sure that it runs smooth on the iPhone.
Also notice they released it for the most popular desktop OS as well first.
Running web feature rich apps on the iPhone allowing mobile users to buy on eBay, check mail, look at the map of how to get to fancy restaurant X is what google wants you to be doing. It's fits there business model.
They have some fairly obvious business goals here. They give the user something they want that also fits into how the generate money. It's honest it's straight forward.
First of all, WebKit itself doesn't impose the multi-process model that Google's Chrome uses. For example, Safari uses WebKit, and it runs as a single process.
With that cleared up, now, here's the more important flawed assumption in your post: that having the broswer use n processes to display n pages will require n times as much memory as doing it all with n threads in one process. That's far from true, because such a browser can be architected so that the processes use shared memory for all shared resources and state.
The multi-process architecture will carry additional memory overhead, but done correctly, it will scale up much better than linearly. The real costs are the costs of process creation and switching in the OS, plus the costs of the inter-process communication method. Using shared memory for the latter is cheap, but it can potentially make one process bring down the others, defeating the purpose of isolating each page into a process; it's a balancing act, and the memory overhead really depends on what tradeoffs one picks here.
Are you adequate?
IE 8 is not outdated by any stretch of the imagination. I'd give you bloated, except you said that Gecko isn't bloated, and IE isn't what we'd call that far off from Firefox in terms of bloat. They're both weighty browsers, it's not like comparing a midget to a cow.
"16MB (fuck off, MiB fascists)" - The Mighty Buzzard
Actually, I take that back. The only real overhead is the OS overhead for separate processes.
The architectural choice of what memory contents should be shared between processes and which should be private aren't specific to the multi-process architecture. The same choices and tradeoffs exist in a multi-threaded application; you can choose between having each thread have its own copy of some piece of memory (uses more memory, but isolates each thread from the others), or have all the threads share it (uses less memory, but access must be synchronized, and any bugs involving that shared memory may make one thread bring others down).
Are you adequate?
Which engine is closer to being fully compliant with W3C standards? I can't tell how WebKit rates.
http://www.webdevout.net/browser-support?IE7=on&FX3=on&OP9=on&SF2=on&uas=CUSTOM
I accidentally the Gecko.
The WHOLE thing!
Please do not take this negatively:
Ya know what I'd like to see? Standards revision.
And yet, they do revise them by working on and ratifying a new version.
It's great to tote out "standards compliance" as the holy grail, but the problem is that there are plenty of things that the standard just does not define.. and those things get discovered by web developers who work around the issues and it never gets back to the standards drafters.
That sounds nice, but you're advocating a moving target. Standards or recommendations would never be finished.
Now there's the link tag but it's optional.. yeah, that's right, the standard says that a browser can optionally implement the tag.. what kind of standard is that anyway? So no-one used it. Instead, they use the img tag and set the width and height of the image to 0.. unfortunately, the standard never said "if the width of the image is zero, thou shalt not render anything."
Just because *you* want it, doesn't mean others do.
Unfortunately even a lot of stuff that is in the acid test never makes it back to the standard, so browser developers have to reverse engineer the Acid test!
I'm guessing you're a web developer. Therefore, you or your company have a demonstrated interest in the recommendations, which means you can sign up and be a member of the committees and advocate your changes and proposals for the next version of the recommendation.
I hope this helps a bit to further your understanding of the process.
Obviously.
The current rate of extinction is around 10 to 100 times the usual background level,[36] and has been elevated above the background level since the Pleistocene. The current extinction rate is more rapid than in any other extinction event in earth history,[37] and 50% of species could be extinct by the end of this century.[38] While the role of humans is unclear in the longer-term extinction pattern, it is clear that factors such as deforestation, habitat destruction, hunting, the introduction of non-native species, pollution and climate change have reduced biodiversity profoundly.
Touched a nerve did we?
Sig this!
Firefox 3 on my system uses around 200 megs of memory. IE8 pushes 400 megs. Firefox is snappy. IE8 makes IE7 look snappy in comparison.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
"...it's not like comparing a midget to a cow."
How about a midget cow?
Sorry. I should have added the sarcasm notifier (~) after the end of the sentence in the original post. My bad.
Sig this!
https://wiki.mozilla.org/Gecko:DeCOMtamination
Nerd rage is the funniest rage.
And with threaded tabs, it kicks Firefox's ass up and down the street.
At the moment, Firefox and Safari are competing for "suckiest browser." Chrome and IE8 are hanging out at the cool kids' table.
"You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
Speak for yourself, I am a "web developer" (I fail to see how "programmer" doesn't suffice) and I prefer democratic control of software (software freedom) and letting a thousand flowers bloom. Software freedom can be messy but we're better off having that messiness than allowing any one implementation of something to dictate how things work.
Digital Citizen
IE has had the same rendering engine, Trident, since IE4 (1997). MS may claim significant improvements in standards support, but in reality, they seem to only pick the bugs that have names. After five publicly available iterations (up to IE7), why is their overall standards support at least 25% below, on a feature by feature basis, nearly every other rendering engine?
Plus, I have yet to hear anything to rebut the rumors that MS simply can't fix Trident because the code is such a mess, and they "don't want to break websites", which is one of the most backwards arguments for anything on any topic.
I hope to point out that we need a browser which handle wiki like markups.
I think HTML need to compete with other formats, especially un-structural markups.
It is time to explore a un-structural markups, hopefully a standarized process will start soon. Structural markups is very expensive and incomplete. There are many cases which can not handle well, for example, it never handle footnotes nicely.
Thank you.
Gecko is what they developed.
This is like having an article on Redhat's commitment to the Linux kernel.
As if they could just arbitrary change their flagship product to use the BSD kernel instead.
Or like discussing Microsoft's commitment to the Windows platform.
Just because unix/Linux-based kernels and software are becoming more popular in some circles does not mean that it is conceivable for M$ to drop the Windows kernel in favor of a *IX one.
If Gecko in Mozilla dies it will be because they have developed a better Gecko, or because Mozilla as a whole has died.
Ah! Sweet redemption!
Sig this!
for getting the kinks ironed out before they hit the rest of us!
Something stays the same from yesterday. More news on this breaking story at 6
I find it annoying when my browser renders a page one way, and then, just as I click on something, it re-renders, the links change, and I'm looking at goatse. Somebody should look very carefully at his kidney problem, but not me.
All your database are belong to U.S.
I got a quote that was about 25% higher than my rate with State Farm and promptly closed the browser window. Then, a couple months later, I get a call from Geico (at 9 in the morning, which for me is a really fucking annoying time to be woken up by an insurance company). They're offering an even lower rate, which STILL ends up being 10% higher than what I pay my good neighbor who's always there. After all the fucking commercials I've endured over the years, you'd think they could muster a lower rate. I just hung up on the bastard when I heard the 6-month premium spew out his mouth.
WHO NEEDS SHIFT WHEN YOU HAVE CAPSLOCK/ DAMN1
and they "don't want to break websites", which is one of the most backwards arguments for anything on any topic
Actually, that is far and away the best reason to not mess with it. The user experience is paramount, and when you mess with that, you have failed. Too bad MS already failed in that respect on IE 8 by caving into the standards zealots who refused to consider the practical implications of their ideas, but oh well... that bridge is crossed.
After five publicly available iterations (up to IE7), why is their overall standards support at least 25% below, on a feature by feature basis [webdevout.net], nearly every other rendering engine?
I neither know nor care. I'm simply saying the fact that it's under active development means, by definition, that it is not outdated.
"16MB (fuck off, MiB fascists)" - The Mighty Buzzard
True dat. Firefox isn't exactly bringing anything to the table at the moment, and needs to step it the hell up if they want to remain relevant. IE8 is ok, Chrome is amazing (and will, of course, only get better over the next few months). Firefox is simply coasting at the moment.
"16MB (fuck off, MiB fascists)" - The Mighty Buzzard
But it sure has hell freezes up all the time when one tab goes through turbulence from slow javascript or is loading acrobat reader.
There is more to stability then "does it crash". Hell, when the whole browser locks up while waiting for a plugin to load (this includes firebug, et al), it might as well have crashed on me.
Who exactly is claiming that Gecko is bloated? Also, XUL holds an extraordinary amount of promise as a successor to old-style Java apps. Webkit has nothing resembling it: all it does is render HTML + CSS.
Why does everyone talk about webkit, apple, and google without mentioning the fact that they all owe a debt of gratitude to Trolltech, Qt, and KDE for building the foundation they all rely on? Give credit where credit is due, and stop pretending that Apple and Google are the engines of innovation around here.
That's basically my experience. I got a free quote, and they were 20% higher than I was paying to Amica. I never heard of Amica until a friend got rear ended by one of their customers. We were both shocked at how professional and decent they were. So, almost everyone we knew switched. They said they get a lot of new customers that way. As I recall, they were higher than Farmers when I was with them as well.
I don't know, but it works for me.
Separating the browser into one process per tab only helps for the fragmentation problem in the case of memory that is truly private to each process. It doesn't help at all in the case of memory that's shared between processes. If that shared memory is managed as a heap like malloc and free do, it can still fragment. (And it's important to point out that the shared memory doesn't need to be managed like that; a custom memory management scheme tailored precisely to the way it's used could have zero fragmentation.)
There is no way of knowing the memory and performance costs of the multi-process browser without having a lot more detail about precisely which things are private to each process, and which are shared. The comic does nothing to tell us to what Chrome is sharing and what's private to each process, nor how any shared memory is managed.
Are you adequate?
Why is WebKit worth switching to when Chrome had five vulnerabilities in two days?
2008-09-05: http://milw0rm.com/exploits/6367
2008-09-05: http://milw0rm.com/exploits/6386
2008-09-05: http://milw0rm.com/exploits/6372
2008-09-04: http://milw0rm.com/exploits/6365
2008-09-03: http://milw0rm.com/exploits/6355
2008-09-03: http://milw0rm.com/exploits/6353
WebKit isn't touching my machine, thank you very much. Might throw Bunny(the fuzzer) at the codebase, though.
www.isoHunt.com
waiting for Gecko to be completed 4-5yrs behind schedule, finally we get to use it for 2-3yrs and now you say it's "outdated and bloated?"
Is that you Mr Balmer?
So are they. Apparently you've never been to Buffalo.
Try not to take me more seriously than I take myself.
Chrome's doing JIT compilation of Javascript. In this context, separating the broswer into multiple processes protects you from bugs in the JIT compiler that produce native code that makes memory access errors.
Are you adequate?
That's why I never insure with anyone who advertises heavily. That money has to come from somewhere.
I never heard of Amica until a friend got rear ended by one of their customers.
Well that's a novel marketing approach...
Seriously, though, perhaps they save money by not blanketing the airwaves with commercials.
Ooh, a sarcasm detector. Oh, that's a real useful invention.
Webkit, which was adopted by Apple and Google for use in the Safari and Chrome browsers. I have been using Chrome on my work PC and find many of its features compelling, and wonder how soon we will see its best innovations in Firefox. Why is Gecko worth keeping if it is outdated and bloated?
It's like one of those stories where a sane traveller finds himself in a bizarre realm where everyone is crazy. Like something from the Twilight Zone.
Chrome's rendering engine is so ridiculously slow that I stopped using it after a few minutes. Hasn't anyone else noticed? Or is everyone too polite to point out that Google did a poor job? A quick google search shows that at least this guy agrees with me. What about the rest of you? Did you notice that Chrome takes like 3 times as long as Mozilla to render a page? Do you think maybe that's why Mozilla shouldn't adopt Chrome's rendering engine? Is Rod Serling going to suddenly appear in my living room and do a monologue?
The idea behind Chrome is that "under the hood, [Google is] able to build the foundation of a browser that runs today's complex web applications much better".
In other words, if you want a lightweight browser that can simply browse simple web pages, there probably are better browsers out there. But Google is saying (and I agree) that as time goes on, browsers are being asked to do more and more, and we need something a little better to serve not just as a lightweight web surfing application, but an actual application platform itself. Pretty soon, your Photoshop, Illustrator, and other memory-intensive applications will probably run within your browser, not as stand-alone applications on your OS of choice. (In fact, Adobe has already launched an online "express" version of Photoshop with some photo editing capabilities that are limited, but well within the realm of what used to be handled by stand-alone applications. And Adobe is not alone in doing this.)
Some people disagree, and say that a web browser should be a web browser and leave other applications stuff to, well, applications. I can see advantages both ways. Javascript, Flash, Silverlight, or whatever your Web 2.0 platform of choice is aren't the most robust of development of platforms, but that may change over time. Browsers will undoubtedly get more bloated, but as long as it's not as fast as low-end computer capabilities grow, I don't really see that as a problem. And of course, most of these platforms (well, most not developed by the company that has a vested interest in you being locked into its operating system) will work under any OS. In the end, I guess it just boils down to what all you'll be asking of your web browser. Fortunately, web browsers tend to play nice with each other and you have choices galore for which one(s) best suit your needs.
And with threaded tabs, it kicks Firefox's ass up and down the street.
Firefox, maybe... Safari, maybe...
Interesting fact: Konqueror seems to be using a separate process for each window. Not necessarily for each tab, but absolutely for each window.
Worth mentioning: They aren't threads (in Chrome), they're processes. And they aren't foolproof -- on release, it was trivially possible to crash the entire Chrome browser. Say what you will, but Firefox and Safari are reasonably robust -- I've no doubt that Chrome will surpass them, but it hasn't happened yet.
Don't thank God, thank a doctor!
Yeah, it's off-topic, but what the hell... I hate Geico. I was going through them for a while and all was well... then at every renewal, they would raise my rates a little. I called to ask why and they just said "costs are going up everywhere... everyone is doing it." What a lie. When you are with an insurance company for a couple of years or more and have no incidents, your rates should go down and that is what everyone else does... just not Geico. So I switched away from Geico, got a lower rate and never looked back. I have gotten occasional mails asking me to come back but they go in the trash.
GEICO, you suck. GEICO, you lie to customers. GEICO, you falsely advertise. GEICO, you should be shut down.
All I know is that Chrome is ridiculously slow with porn. Since Chrome was developed in a corporate environment it is no surprise that it can't run porn sites well.
Gecko in FF3.0 is terrible for scrolling. Even on top-end hardware, scroll performance sucks it.
See for yourself - load latimes.com in FF3.0 and in Chrome. Huge difference.
Please, please, please, stop with this one process per tab madness... It's almost been a week since Chrome has been out.
we made the comparisons, lets just move on...
APIs, document formats, various networking protocols, pedal placements in cars, Ctrl+O => Opening a document, I could go on and on.
Your ad here. Ask me how!
as evolution in action. Only if we have multiple rendering engines do people have a choice, and only as long as there are multiple implementations does it make sense to speak of a standard (Sun: take notice). This is good for everybody.
Article is written by someone who doesnt know what the hell they are talking about. Gecko has better memory usage than any other modern browser i have seen and excellent standards support
Isn't Firefox (particularly after 3) one of the more efficient of today's applications? They improve the memory footprint, begin to seriously improve dom/javascript performance all without sacrificing today's best features; only to be called bloated and inefficient.
Quack, quack.
I don't think Mozilla is the next IE because of Google Chrome.
The fact that Google has made the product is a reason it has recieved much hype. FYI: Google Chrome is actually flaky on my Company's laptop (Windows), the only other Webkit browser which works is Safari 3.1.2.
Webkit may, sure, be better today. When khtml/kjs were out there, the very same Google totally discouraged usage of Konqueror in it's webapps like Gmail. Ask some Konqi devs about it and they will tell you how much they hate Google. But today, Google just took it up after Apple has done most of the work on Webkit. Shame on you, Google.
The reason why I am pointing this out is that while Google only looks at $$$$$, Mozilla hasn't been that evil. Mozilla did not say they weren't evil, and they weren't. Gecko has totally, IMHO, proved reliable over the years. It works beautifully on Linux and BSD too, which is one of the reasons why I use it. Webkit may be available, open source, but nobody has bothered to make use of it in any free software components on {Free|Open|Net}BSD or Linux. Mozilla, on the other hand, has consistently provided source/releases of key productivity components like the browser, email and calendar suite.
If there was a browser war, Mozilla would be the guy fighting for everyone than for itself. I wouldn't abandon Mozilla for the world.
1. Threads are Hard
2. Threads are not magic bullets
3. Threads introduce WHOLE NEW CLASSES of bugs
Threading is only as hard as a bad design makes them. If you have to share data among threads so much that you have to put locks all over the place, that's really a tell-tale sign that the design isn't all that good to begin with. Really, the best threaded designs are almost like lightweight processes to begin with. Keep the number of points where data must be shared across execution chains low, and everything tends to fall into place.
This is my sig.
...is for their children to succeed.
That, and don't fix what's not broken.
The downside is that processes are a lot heavier than threads.
How much heavier are they? Off the top of my head, the big internal advantage of threads is that they share the same page tables whereas separate processes have their own... but, each thread is still going to have its own stack and its own state block for when its task gets switched out.
Correct my own stone age knowledge of the Linux kernel, but, aren't threads and processes practically the same thing internally anyway?
This is my sig.
Your post is a perfect example of why designers constantly need to be kept in check. Looking really good is an admirable aim but is not an "excellent reason" to harm functionality.
It really depends on the market you are trying to reach. Beauty is valuable and it has a price and a market. For some sites, such as financial services, cosmetics take a back seat to functionality. However, for other sites, where you are trying to create an experience for the use, or to do some sort of an ad campaign, then cosmetics and designers come first and foremost.
Now, your citation of cars is interesting because cosmetics matter a great deal in the segment. No matter how feature rich or well engineered a car is, people aren't going to buy it if it looks like crap. The car -must- look good, and, quite often, looks add a considerable premium to the price of the vehicle. I guarantee that the per vehicle margin on a Bentley is a lot higher than that of the Ford Taurus. Or, to put it another way .. you might be paying 10x as much for the Bentley as the Ford, but that Bentley doesn't drive 10x faster or 10x farther on the same tank of gas. Instead, people with that kind of money buy a Bentley because it looks -good- AND it happens to go faster than a Ford.. but the looks and the design of the thing matters first and foremost.
This is my sig.
I'm happy to see WebKit being implemented in more browsers. For a long time, it was considered one of the hardest tasks in computing to make a good, solid, standards-compliant HTML rendering engine but when KDE 3.0 came out, the KDE folks seemed to have pulled theirs out of nowhere. It was fast, it rendered things properly, and it was good. Until Apple adopted it and renamed it to WebKit, I was always a little saddened that it never saw wide usage. I'm glad that's changing.
Gecko made huge a leap forward performance-wise with Firefox 3, however. This meant that Firefox finally wasn't sluggish on mediocre hardware. But it still doesn't quite match the speed of WebKit-based browsers.
The Maemo browser, MicroB (which runs on the Nokia N800 and N810) is based on the Firefox 3 version of Gecko and while it's usable, it's actually pretty painful to use for prolonged periods on such limited hardware. They're reportedly working on a WebKit engine which should speed things up dramatically. What I'd really like to see is the Maemo GUI completely rewritten in Qt. Probably won't happen on the N800 and N810, but now that Nokia owns Trolltech, it's a possibility for their next iteration of web tablets.
Obviously, WebKit and Gecko are the Coke and Pepsi of browser engines. If you create Web content to the (large) subset of standards that are supported by both WebKit and Gecko then you have universally readable content, the work you do is not linked to any one software application or organization, like Flash development is. So you can make documents throughout 2008 and stamp them "HTML+CSS+JS" and 20 years from now reading those documents doesn't have to involve WebKit or Gecko or Mozilla or Apple or Google. If Gecko went away we would all be WebKit developers instead of Web developers.
Google Chrome does not suggest to me that Firefox should stop using Gecko, it suggests that Microsoft should stop using MSHTML. Google went to great pains to invent new stuff for Chrome (new UI conventions, sandboxing, the JavaScript compiler, Gears, Chromebot testing) yet they specifically chose not to create yet another renderer. Instead they chose the most-suitable open source one and improved it. If Microsoft put WebKit or Gecko into Internet Explorer they could spend all their development time on things that are specific to Windows, and Internet Explorer would be 100 times better. But of course we know that Internet Explorer is just pissing in the pool, that is its purpose, that is the result.
I have an old 12" powerbook with 384 MB of RAM. It started gathering dust when I got a much larger laptop for work, since modern ajax-and-flash-heavy websites were really crawling with so little memory, and that's using both Firefox 2 and Safari. When Firefox 3 came out, I heard how much lighter it was, so I gave it a try. Lo and behold, my old laptop had new life! Safari still feels a little snappier when I only have one tab open, but that's a fleetingly rare condition. Gecko isn't just the technology we have right now, it's the vibrant developer community hard at work making it better. WebKit has less ambitious aims, and achieves them well, but Mozilla would be throwing the baby out with the bathwater if they told everyone to forget Gecko and learn how to do that same optimization work on WebKit.
There's no failure quite as dissatisfying as a complete and total solution to the wrong problem.
The slashdot article is tagged as troll and flamebait, while the ars article is nothing like that, it simply explains that for Mozilla, Gecko is the right choice because it does a lot more then WebKit does AND has been overhauled recently to such a point that it now does MORE with LESS.
The person who submitted the article either made a mistake by thinking that slashdot readers could read the summary as being a question that was going to be answered when they RTFA OR, more likely, didn't RTFA himself and thought the ars article was going to come to a different conclusion.
To make it bloody clear, the article itself concludes that Mozilla uses Gecko because it needs it, Gecko has been improving rapidly to the point that its biggest weaknesses are now gone and WebKit itself would have to be hacked to bits if it was to be used by Mozilla for its projects.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.
Just went to their site.
They won't even give you an online quote if you've had a ticket in the past 3 years.
General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
Haven't done much multi-threaded programming, have you?
Say, one thread locks a mutex and hangs.
Whoops! Now all the other threads that want that mutex will wait forever!
I kind of agree with you, but...
The whole point was that generally, these separate tabs will have very little need to interact. Your example of a global mutex brings up the question, of why you would have them all after a global mutex anyway instead of pretty much keeping to themselves.
Obviously something like a memory error or a few other things can bring the whole thing down by bringing down the main process all the threads are a part of. But contention as you raise the issue seems to be less likely than it would be in other kinds of multi-threaded apps where the threads have to communicate or otherwise work in unison with other threads, or at least more manageable and confined to already centralized things like browser settings.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Maybe you're a really good coder and can handle all the issues related to threading.
However the browser you write won't just be running your own code. It will be running code written by Adobe, Facebook 3rd party apps, and so on.
Given that, it's wiser to design your browser to use processes, so if you or somebody else screws up, the offending tab can be killed without affecting the other tabs, and also the memory used gets freed up (this is quite important given the large amounts of memory a tab can use nowadays).
You could in theory have your browser threaded, but use processes for the plugins, javascript and future junk^H^H^H^Hfeatures the W3C comes up with, but at that point how much do you really gain?
Why do you think Microsoft sees Google as the enemy? They are right. Google have just launched a new "operating system".
It's wise for Google's "operating system" aka browser to have process isolation, so that it is harder for one misbehaving instance to take down the rest.
Cooperative multitasking is so 1980s.
Erm, Konqueror uses Webkit now, too. How the hell is it an Apple byproduct? It's a fork of KHTML with better funding. It's more of a Qt/KDE byproduct than Apple.
Why is Gecko worth keeping if it is outdated and bloated?
It's very simple: anything the Moz foundation does will end up disgustingly bloated. Remember when Netscape could fit in 4MB of memory? Remember when the first browser released as Mozilla came out, and it was supposed to do away will all the dumb Netscape cruft? Remember Firefox 0.1, which was supposed to be an optimized Gecko without all the Mozilla bloat? And what do we have now, but an increasingly-bloated Firefox codebase. If they do adopt Webkit, it will just end up getting bloated and useless too, and for people who don't want dumb, bloated crap, we're kind of running out of projects to use.
Better to leave Gecko to Mozilla and Firefox, and keep their bloat contained.
Firefox and all of its extension use JavaScript and XUL. Gecko implements JavaScript and XUL (in addition to XSLT, XML, XHTML, HTML etc.). Webkit implements (X)HTML renderer and a JavaScript engine. If you decide that Firefox has any value (and I think it has) plus if you want to use any its extensions (I use a lot), then you have no choice but to use Gecko.
Of course, if Webkit is first extended to support XUL and Firefox's extension mechanism - just go for it. That way you could use pretty much all the Firefox extensions in Safari, Chrome and friends. Then we could ask Firefox to dump Gecko if we still think so. I wouldn't expect that to happen too fast...
_________________________
Spelling and grammar mistakes left as an exercise for the reader.
I learned a while ago that Firefox has lots of zealots in the moderator ranks.
I must not feed the trolls.
I must not feed the trolls...
But damn it, that's nonsense. The moderators change from one day to the next, and meta-moderation works reasonably well at keeping things fair.
But a browser is only a browser, and flaming one or the other accomplishes nothing. I can even work with IE if I have to (though I don't have to like it).
But in any case, just because a new kid is on the block in the form of Chrome, it does not necessarily follow that Firefox suddenly sucks. With the latter, we are free to add as many extensions as we need (though I only use adblock and flashblock), and I guess that to some extent defines how big a footprint it is going to make.
Much has been made of breaking up tabs into separate processes to make things safer, which on the face of it is not a bad idea in itself.
However, I would ask how often you manage to crash Firefox. I have been using it since it was still Mozilla, and I struggle to remember ANY occasions when it has crashed. OK, yes, it has happened, but very very rarely.
But getting back to the point, I wonder if anyone here can get back to the point and enlighten us as to why (or whether) Firefox should embrace webkit?
Actually, the article argues that Gecko is worth keeping exactly because it is no longer bloated and outdated. But to know that, one has to read the second page of the article. Cheers, alf
IE8 has a new rendering engine. Trident is also included for the compatibility mode. Tim
"Actually, that is far and away the best reason to not mess with it. The user experience is paramount, and when you mess with that, you have failed."
Here is news for you: Every use of a browser has two users - one providing the content, one recieving it. MSIE has constantly failed the first half until IE8.
Why? I spend more time in the web browser--by far--than any other application.
I don't.
I guess you missed the second page in the article http://arstechnica.com/articles/paedia/mozilla-committed-to-gecko.ars/2 where they explain why Gecko is worth keeping and where they also explain that it isn't as outdated and bloated as it felt before FireFox 3 ;)
Chrome is all new and bright and shiny, Firefox has some (plenty?) memory leaks, and all of a sudden we go from comparing browsers to making sweeping statements over their respective rendering engines? Why?
How is a rendering engine that scores 85% on ACID3 "outdated"? Why should Mozilla drop a codebase that is quite successful in the marketplace, and that they know intimately and have full control over in favour of one they don't know all that well and is controlled by Apple, just because it's (arguably) king of the hill right now?
Frankly, the summary is a troll -- and the article feels like little more than a jab at free clicks.
Seriously, they answer your question in the article, wich makes your submission completely irrelevant.
Could someone name some of these innovations?
One process per tab? IE8 did that before Chrome.
V8? Both Apple and Mozilla did those things before Chrome was announced.
Showing your favourite sites when opening a new tab? That's Opera's Speed Dial, except automatic and potentially constantly shuffling around, working against muscle memory.
Creating "standalone" applications from web pages? Mozilla and Apple were already doing that.
Incognito mode? IE8 again.
So what are these innovations?
Because in other programming languages, NULL pointers can be caught as exceptions, and the thread can be gracefully terminated.
Wake me up when Chrome supports web development as Firefox does (via Firebug).
Altough everything considered, it shouldn't be too long before that.
Actually, that is far and away the best reason to not mess with it.
No it's not - at least not for Microsoft. They could just code a new engine from scratch and provide this engine in a separate "mode", keeping the old one to support old webpages.
there seems to be what 4 render engines, all the more reason to be using gecko! The more different *standards* compliant engines there are the less chance one (*cough* m$) will have of steering the "standard" their way...
there are thousands of windows applications that don't work on Linux - thankfully
Gecko is bloated. No one disputes this anymore, even within Mozilla. That is being worked on.
But outdated? I don't think so, or at least, it doesn't need to be. Fixing that is a matter of getting priorities back on track: standards support must be Job 1 again, and that means not just the specs but the test suites based on them.
The future of standards support is not in what specs you implement: it's in what tests you pass. Once the Gecko team wakes up and sees this, as its competitors have, then I believe we'll see it become competitive again.
Chicago mayor Richard Daley's puppet is going to move us forward?
Maybe, maybe not. I'm not really an Obama fan, but historically, our country has fared much better under liberal leadership. McCain has essentially promised to keep our country moving in the wrong direction, which is why I'm voting against him.
Yeah, but there online Quote system sucks...:(
XUL is one reason I've switched from Firefox to Camino on the Mac, and why I wish I had the alternative of a decent Gecko-based browser with native UI on Windows.
I used to think Firefox extensions were great, but once I got to the point that I was turning most of the extensions *off* to make Firefox stable again, I changed my mind.
Michael, I can only use my popup blocker once per episode...
Better than Webkit, Better than Gecko.
Go read the IE blog. Trident is dead. MS wrote a new rendering engine for IE8.
"I have been using Chrome on my work PC and find many of its features compelling, and wonder how soon we will see its best innovations in Firefox"
So Mozilla just waits around for people to come up with good ideas then just adds those ideas to their browser?
Remind me again why Firefox is so innovative?
they "don't want to break websites", which is one of the most backwards arguments for anything on any topic.
It is a backwards argument, but I do know of someone who switched browsers because when they upgraded to Firefox 3 "it broke the layout for my blog".
Now, my answer would be to figure out why and correct it (particularly since other people using different browsers might be viewing said blog), but non-technical users don't necessarily think that way.
Plus, I have yet to hear anything to rebut the rumors that MS simply can't fix Trident because the code is such a mess, and they "don't want to break websites", which is one of the most backwards arguments for anything on any topic.
Welcome to corporate software America ...
Where 15 years ago, people didn't actually know how to do things... but figured it out, and got it to work. Champagne for everyone.
Where 10 years ago a new set of people saw what they did, didn't know why ... but instead of cleaning it or fixing it with 5 years of experience... they band aid improvements thus adding to the mess. Cheap wine for everyone.
Where 5 years ago another new set of people saw the current state, stabbed out their eyes, and pushed it along just enough to get their 3 years an upgrade to a different job. Job applications for everyone.
Where now, people just stopped looking at what was there, encapsulate it into its own wrapper, so no one has to see it. Add new stuff with proper organization ... but still maintain the trash heap because management doesn't want to allow the developers enough marketability idle time to fix it. Promotions for those who don't complain.
Chrome's innovations are mostly in the JavaScript engine and the process-per-tab architecture, neither of which have much to do with the rendering engine: Gecko v. WebKit is mostly a peripheral issue.
Shouldn't the real-question be whether FF should move to the new JS engine or not, right? Thats where much of the speed-up that Chrome is seeing seems to be from...
veliath
Yeah, when I tried their online quote tool, I omitted my current premium with Progressive. Not surprisingly, I got a quote significantly higher than my Progressive rate. Then I did it again, but filled in my current premium, and got a quote back that was five dollars less than my Progressive rate.
Saddest thing is, even when they KNEW how much I was paying, they didn't even bother to try and beat my Progressive rates by %15. Talk about false advertising.
Man is the animal that laughs.
And occasionally whores for Karma.
I compare my rates ever year and switch companies often. GEICO has never had the lowest rate, ever in 7+ years of yearly comparisons.
Dunno about you, but I get random 2- to 5-second freezes in Firefox, and it crashes once a day or so on JavaScript.
Safari, I don't know, I won't pay extra to make my computer a style accessory.
"You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
Safari, I don't know, I won't pay extra to make my computer a style accessory.
I assume you're talking about buying a Mac.
Given that you're running Chrome, I assume you're on Windows. Safari does have a Windows port.
Sure, it's not the best Windows port. And sure, if you were going to criticize it, the default response would be "It's better on a Mac." But it does exist, and it does work, and I imagine it's pretty solid.
Don't thank God, thank a doctor!
Hmmm, well, they don't let you choose online the coverage you need really, so they ended up being $500 more a year than I'm paying Geico. I really haven't seen any lower quotes, the only one close was Progressive... I get lots of ads saying they can save me $300 over geico, but I'm only paying ~ $800 a year... how low can they realistically go?
Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
Interestingly, my rates have been going down a little every renwal I don't make a claim / have an accident... I've only been with them for 1.5 years though.
Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
CPU clock speeds are going up, and memory prices are going down, but a web browser should still be a relatively lightweight application by itself.
Why?
So that it can run efficiently on battery-powered devices, such as subnotebooks and handhelds.
Should screen resolution be limited to 320x240 so that subnotebooks and handhelds can run at the same resolution?
No. Web pages should scale, and that's what CSS @media rules are designed for. But unfortunately, the entire HTML gets sent to the device no matter what @media it uses.
Should games be forced to limit ther polgygons to something that can run on subnotebooks and handhelds?
If the developers don't design their product to scale down to handhelds, then owners of handhelds will buy the competitor's product that does scale down to handhelds. A lot of early PSP games earned poor reviews for their long loading times because the PS2 assets weren't scaled down properly.
People don't use Firefox on their iPhones
Only because of Apple's lockout chip. They use Safari, which is equally heavy for a reason: If we have completely separate code bases for the mobile and desktop browsers, eventually the two code bases will develop "quirks" (incompatible interpretations of a spec), or features will end up missing entirely from the mobile version. This has already happened with Windows Internet Explorer and Pocket Internet Explorer.
and they don't use the Treo browser on their desktops.
How should a small web developer test his web site against the quirks of PDA browsers without owning all makes and models of PDAs?
"Can you honestly say that most people don't get anything out of a more rich browsing experience?
Reply to This" - by Moridineas (213502) on Tuesday September 09, @09:34PM (#24941045)
You're "right" - they do "get something", & supposedly within as little as 8 minutes online after initial OS setup: Viruses/Spywares/Trojans/Malwares/etc. et al, via this "rich browser experience" you people speak of, especially JavaScript + IFrames ridden pages &/or adbanners that foist them upon unsuspecting users. Other HTML/webbrowser page extending tools can do the same (like ActiveX, & even JAVA, despite its "impenetrable sandbox" (it's anything BUT that)), but the one that gets abused the most? Javascript, period. So much for "Web 2.0" via AJAX & what-not... it's only the doorway to yet more hassles of that nature, until they fix the DOM itself.