Firefox Going the Big and Bloated IE Way?
abhinav_pc writes "Wired is carrying an article pondering whether Firefox has become big and bloated, much like IE. As the browser's popularity has risen, the interest in cramming more features into the product has as well. Slowdowns and feature creep have some users asking for a return to the days of the 'slim and sexy' Firefox. 'Firefox's page-cache mechanism, for example, introduced in version 1.5, stores the last eight visited pages in the computer's memory. Caching pages in memory allows faster back browsing, but it can also leave a lot less memory for other applications to use. Less available RAM equals a less-responsive computer. Firefox addresses this issue somewhat, setting the default cache lower on computers with less than a gigabyte of RAM. Though the jury is still out on where the perfect balance between too many and too few features lies, one truth is apparent: The new web is pushing our browsers to the limit.'"
to totally rethink the browser? with broadband becoming more available could websites be built in a way that current browsers don't even let us imagine?
Disingenuous FUD aside, I can't for the life of me imagine how IE could be "bloated". It never had much functionality to begin with.
Kudos to Bashdot. Even the current Digg submission doesn't mention IE at all.
That's why I never get the first post!
Caching pages in memory allows faster back browsing, but it can also leave a lot less memory for other applications to use.
The amount of RAM used for caching pages could be set by the user in the options. I think most Firefox users could handle that.
Libertarian Leaning Political Discussion Forum.
I'm running 3/4 of a gig, and I've never had Firefox crash. And I have BOINC running all the time. My CPU is spinning pretty high all the time, and I tend to have a good bit of my RAM being used all the time. So I don't know what you're doing wrong dude.
Geeks strike again 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
More than anything it's reminding me of Mozilla, now known as SeaMonkey. The reason I switched from Mozilla to Firefox was because I wanted a smaller, more nimble browser. I didn't want a RSS reader, e-mail, IRC, etc. packaged together. Firefox hasn't integrated all of those yet but it's moving towards it and I don't like it.
I guess it is the time now for people to look into Opera, which seems to be able to keep the balance. I think software should not be discriminated on the basis of not being FOSS.
Ignoring the poor grammar for a moment: "Less available RAM equals a less-responsive computer" is a bit simplistic. Unused memory is wasted memory, this is similar to the arguments about top(1) on Linux reporting all your memory being used in buffers etc.
Firefox has an awesome ability to add-on things very effectively. I don't understand why they don't keep fx slim with with all the proposed additional features as external (and hence optional) add-ons. Perhaps the not-so-computer-literate can use the bloated-up version of fx so they don't have to figure out how to use add-ons (I'm still amazed at how computer illiterate people can be), but leave a streamlined version for us techies to add-on options as we choose.
"A witty saying proves nothing." - Voltaire
On OS X Firefox feels sluggish compared to Safari which is all native UI elements. The amount of time is very small but very noticeable where it feels like the non-native GUI is taking more time to refresh the entire app.
But the main problem I have with Firefox right now is after a while it uses up so much VM that just changing tabs starts to chug. And even if it hasn't leaked to the point of swapping when switching tabs, having even a few tabs open seems to degrade performance. It feels like there is extra and unecessary work going on in non-visible tabs.
I find I have to quit the who app and restart it more and more. The tab session reload extension helps but there is definitely some sort of memory/threading performance rot going on.
So other than the memory cache, what features could be stripped from FF to make it leaner and faster? I know nothing of its internals, but without any extensions it doesn't seem to have many wasteful features.
Developers: We can use your help.
To me it sounds like requesting that Frefox turn in to Camino for Windows/Linux. As Firefox has become more and more popular, Camino has taken a back role, reserved for use on Macs by people who aren't impressed by massive lists of features that they'll never touch. In all honesty, I think Firefox is a great example of what open source projects should try to avoid as they become more popular. One developer may think that adding the capability to change the text color of individual lines by middle clicking and pressing Left, Left, Right, Up, A, S, Enter, followed by a hex color code would be an excellent idea, but that doesn't mean that it will add anything to the overall capability (or usability) of the software. Addons do have their place, but even they have become overcome by feature bloat these days.
Aside from that, the ongoing issue with Web 2.0 apps and javascript with multiple tabs using the same shared namespace and overwriting variable names still hasn't been highlighted by the security community and as AJAX and web based applications become more prominent, the end user will find more and more applications breaking other applications.
This is my sig. There are many like it but this one is mine.
I spend all day^H^H^H^H^H^H^H a few momentes when I would not otherwise be productive, pimping my music round myspace (surely the biggest resource hog on the net) and firefox holds up fine on my 256MB Thinkpad (running ubuntu).
ccalam - acoustic versions of new songs.
A quick look finds the option to turn off the cache:
browse to about:config
search for the browser.cache.memory.enable setting
set it to false
restart the browser
On my machine, that lowers the memory footprint from 125MB to just under 50MB.
I used one of the very first phoenix builds. It impressed me because at the time i was using mozilla. Phoenix was literally just gecko + some ui and it was really really light and fast. There was no installer, no control panel (well it was blank), etc.
I'm very happy with firefox so far. I run half a dozen extensions to give me features like "session saving" etc. Ram usage is not too much of a concern with me. I would like it if the default was to not cache 8 pages back. And on disk cache should be fast enough to retrieve and render. 90% of the time i only go back 1 click anyways.
Firefox 3 is implementing major changes. Under the hood they are switching to garbage collection and cairo (vector rendering) just to name a few. Cairo is a great abstraction that hasn't fully realized its performance capability. I don't suppose glitz will be out anytime soon. The sql-lite bookmarking looks neat. Epiphany has something similar. But i must admit that i've fully switched to del.icio.us and the extension v1.5.29. That's quite fully featured and it syncs across computers.
The rss reading capability i do not like at all. That should be implemented as an extension. I prefer to use liferea. There are plenty of firefox features that should be implemented as extensions. That way you can disable them if you wish.
----
Go canucks, habs, and sens!
Let's make a new and smaller browser, based on the same rendering engine! We'll call it Phoenix or something like that. You know, like it's brand new! It comes from the ashes, it must be good! And we won't bloat it, no, no. We'll make it speedy!
Where did I hear that before?
If people want to bloat up their browser, I don't see how thats your problem. Now, when the browser comes bloated so that you can't slim it down without spending a good bit of time cutting chunks out of the code, it becomes a problem. If they took things like spellcheck out - slimming the base fx - and allow me to chose if I want it in or not, that'd be nice. But what do you care if I want to put a bigjillion plugins on?
"A witty saying proves nothing." - Voltaire
Whenever I clicked from one window to the other, I'd get the Spinning Pizza of Death for a minute or so while the other task's memory was paged in. I had to add another gig of RAM before I could switch windows quickly.
That made this old coder wanna cry. My first Mac had only 512 kilobytes (kilo - not mega) but that was enough for me to write GUI applications with.
Kids these days don't know how to write code.
Request your free CD of my piano music.
One think IE does right is a true file-for-file cache of what you have browsed.
Sometimes I like to troll thru my "Temporary Internet Files" folder and pick out a few bits for posterity. Especially large .swf or .flv files that I might have watched. The worst is when I watch one of those in FF, then want to grab the file... the easiest thing to do is to watch it AGAIN in IE so that I can go cache-picking later...
maybe it's just me.
This issue is a bit more complicated than you think.
I don't think Firefox ever was such a lean or efficient browser. It's also buggy and the developers don't seem to care much about Linux or MacOS (bad profile support, inefficient graphics, etc.). Opera and Konqueror both seem better written and better designed.
I still use Firefox. Why? Because Firefox works well enough, it's up-to-date, compatible, and, most importantly, has tons of useful extensions.
I hope the Firefox developers will be able to clean up their act, but unless it gets a lot worse, I'm sticking with Firefox, because, on balance, it's still the best browser there is.
Firefox was only leaner than Mozilla back when it was called Phoenix and had only the bare minimum UI necessary to be a web browser.
Mozilla never was slow (at least not after it reached the point that it was good enough to consider using as your standard browser) and really wasn't a memory hog. That perception came about from the people who really didn't want an integrated email program, but absolutely refused to choose "Browser only" when the installer asked what they wanted.
Around the time of the name changed from Phoenix to Firebird, the two browsers were about on par. By the time the name changed to Firefox, it was already more bloated than Mozilla. The project goals moved more towards grabbing attention than being lean.
If Mozilla had just made a theme that blended in to the OS (Classic doesn't do a good enough job of it) and put a link on the download page to an installer that only had the browser included, there never would have been a need for Firefox.
At least when you install Firefox, you don't get some version of Windows along with it :-)
I mean, talk about bloat!
I'll consider Firefox "bloated" when it requires a 10 GB OS and a supercomputer to run the latest version. They still port Firefox to Win 98, don't they? Sans Adobe Flash and Windoze, it's still slim and responsive on my 233 MHz PII. The community is constantly cleaning the code and it shows.
The free world, comes with choice as well as code sharing. I prefer Konqueror which is also slim and there's always Dillo or Opera to play with. There are also "slimmer" versions of Firefox like Galeon.
Friends don't help friends install M$ junk.
To paraphrase an often heard comments about EMACS way back when, "EMACS isn't an editor, it's a lifestyle". Hopefully Firefox isn't headed down the same path.
My attempt to get modded up (any positive mod) by only quoting grandparent, parent, and the summary(and in that order). . . here goes:
Most annoying thing are the crashes of Firefox 2.x! I don't care if it eats a lot of memory (I've got 2GB - who wouldn't these days?) or is bloated, but I can't stand the crashes!
I'm running 3/4 of a gig, and I've never had Firefox crash. And I have BOINC running all the time. My CPU is spinning pretty high all the time, and I tend to have a good bit of my RAM being used all the time. So I don't know what you're doing wrong dude.
Firefox addresses this issue somewhat, setting the default cache lower on computers with less than a gigabyte of RAM.
If you are about to mod me down, keep in mind that this post was most likely sarcastic.
There are many, many things you can criticize IE for... but being bloated doesn't really seem like one of them. If you RTFA, they compare the growing bloat not with IE, but with Mozilla.
True, 3rd party add-ons for IE can bring it to a crawl, but that's not IE's fault. The same problem exists in any browser that supports extensibility via a plugin model.
I use Firefox on XP because it's safer than IE, certainly not because it's less bloated. Firefox consistently uses far more ram (I have several screen shots of Firefox using 1.5GB+ of ram with *no* plugins enabled and just one tab open), dies a painful death due to poor integration with things like Flash (100% CPU Flash advertisements, anyone?), or simply just crashes.
On Vista I use IE 7 w/Protected Mode. Why? Well, again, because it's safer. But it also has the benefit of returning me to the days when a browser didn't use 2x the RAM of Photoshop. Imagine that.
All over the web today there are stories about FireFox's (supposed) bloat, but no actual facts on whether it is or is not actually "bloated." Since "bloat," to most people, apparently means the state of a program having more features than is necessary, it's hard to see how the average user would ever be able to definitively answer this question. The question is probably better phrased as "Are you having major performance problems with FireFox 2.0?"
I don't know how the file size (the other definition of "bloat"), of a FireFox installation compares with other browsers but it doesn't seem like an overly large file to download. It also seems to me that when I check my FireFox preferences it actually has a very basic, simple feature set similar to what's available in almost every other browser. If the feature set is roughly the same as other browsers, how can it be rightly called "bloated?"
I think the problem with FireFox is one of performance, not "bloat" per se. I run FireFox on a Mac with only a single extension and a single theme. My computer is relatively new, the OS is up to date, it has a Gig and a half of RAM and a fast video card. On this machine FireFox is as slow as molasses. It takes ages to start and ages to load a page. It also crashes (a lot!).
I use FireFox because of AdBlocker and because as bad as it is, it's still the best there is on the Mac right now. This will likely change in October when the new Safari comes out so this summer's FireFox 3.0 release will have to be extremely, extremely good just to keep the same market share IMO.
Why can't the OS, when it sees that it is running out of memory, send a signal/message/henchman to applications and tell them that if they have the ability to give up some memory (i.e., caches, etc), then do so, to keep the system happy. There could be several levels of urgency in the request as well, like "yeah, dude, just thinking here, yeah, could you ease up a little on the memory, cheers!" through to "Sieg Heil! Deine Memory, SCHNELL!!".
Comment removed based on user account deletion
Well I suggest you check out a base Windows Vista install. A fresh installation of Vista in a VMWare machine yields approximately 7.16GB. ^_^ A complete Linux install (GNOME/KDE, apps, QT + GTK, etc...) still requires less than half that disk space.
...see this: http://www.liewcf.com/blog/archives/2006/04/reduci ng-firefox-memory-usage/. Seems to work for me. I've not had to restart Firefox nearly as much.
256MB ? Holy crap! I don't understand why people think we need at least 512MB to run anything decently! In 2001 i was running on 64MB and i can remember i could run a web browser (granted it was IE, but nevertheless!) Winamp and some other stuff. And people _expected_ it to run smoothly with only 64MB ! I know it 6 years from that time, Moores law and such, but i still wonder - why this insane amount of hardware requirements? Notice that Opera for Symbian must run with 8MB of RAM and it has to share. And there's no virtual ram, so swapping is not an option. This of course doesn't count Flash. Right now both of my boxes have 1GB of Ram, and i don't plan on upgrading that number anytime soon - I don't play games (consoles are for that, and my Gamecube has about 48MB combined too!), i don't run VMs and i don't even have a swap partition - it never got touched anyway.
If firefox becomes bloated I will eat the internet with a fork.
Get it? 'Fork'? *wink*
I wouldn't worry to much.
Oh and give epiphany a try.
If you mod this up, your slashdot background will turn into a beautiful sunset!
Every time the subject of Firefox's sluggishness and memory slaughtering habits come up, someone tries to excuse it the fact that a few MINOR features has been added over the years. Which were the last big news for Firefox? Phising filter, better search management, incorporated RSS. The truth is that Firefox has had memory and speed problems since 1.x versions. At the very least, nobody can deny it for 1.5.+ versions. At the same time, other projects seem to be able to add features without their browsers eating such inexcusable amounts of RAM and virtual memory. Konqueror and Opera both do LOADS better, and both have all the functionality that you should expect from a browser (that is to say, much more than Firefox has out of the box). Actually it's hard for me to believe that Firefox is so popular among tech people. Whenever I'm at a Windows computer, I naturally use IE7 since it beats Firefox with it's little piggy eye closed.
Is there not some way that operating systems can manage caches for applications in a way that certain datasets can be marked as opportunisitic caching. That is, make it as keep a copy of this in any free space, but you can discard it if real memory is needed.
Some drink at the fountain of knowledge. Others just gargle.
Go look at the source code to Gecko, the rendering engine behind Firefox, Seamonkey, Thunderbird and other projects. In short, it's a mess.
Part of the problem is the foolish complexity of it. Their whole XPCOM idea sounds nice in theory. But then you actually go to implement it in C++, and it becomes a pile of crap. Soon enough, difficult tasks start to become hard, the damn near impossible tasks can't be done, and nobody really has a good idea of what large portions of the codebase actually does. That's not the way to create an efficient rendering engine. You'll end up with memory leaks galore, and excessive CPU consumption, just as we've witnessed with Firefox.
Although it's unlikely to happen now, the best thing for them to have done would have been to throw out most of the code released by Netscape, rather than rewriting a lot of it (at the same low-quality level) in the following years. Then they could have re-implemented it using a natively-compiled implementation of Standard ML. One benefit of this would have been an elimination of the memory leaks that we hear to much about today, due to the garbage collection of SML. Additionally, functional languages are well-suited to parsing (ie. of HTML, XHTML, etc.) and language implementation (ie. JavaScript), more so than C++.
As to the parent post, let's see now:
RSS Support:
I could easily see removing RSS support. Firefox's implementation is nothing an extension couldn't do, and do much better. It's a joke for handling more than a handful of feeds, and stifles development of third-party extensions. Gee, and we used to complain about competing against built-in programs...
Security:
Can you honestly say a browser should be shipped without these, or even an option to not install them? Especially for the popup blocker - are you insane, or have you simply forgotten what the popup-infested web was like? Phishing protection is unobtrusive and useful, as is auto-update.
Miscellaneous:
Integrated search was one of the highlights of Mozilla ages ago, and is now a standard feature in every single browser. Firefox/Mozilla did a particularly good job by adopting an existing open format (from Apple's Sherlock) rather than reinventing the wheel. Search suggestions are the latest evolution of that (primarily thanks to Google Suggestions, if I'm not mistaken). Spell check is marginal - many operating systems offer their own - but I don't see how a third-party extension could improve upon it. Accessibility is just critical for those who need it. Session Restore I'm torn on, as many extensions handled it, but not necessarily well. I see that as the Firefox team deciding to take all of the lessons learned from the third parties, and do it right (much like Apple did with iTunes 1.0).
Bloat is only a problem if it hinders program development, maintenance, execution, or usability. The examples given here don't generally meet those criteria. Most of the features here are simple, self-contained, unobtrusive, and likely have low code and memory footprints.
fast as a rocket on freebsd with P133.
Firefox needs to stop cramming information about all your extensions into a couple of Registry-Hell-ridden configuration files. And then they cross-link by hard-to-remember GUIDs rammed into hard-to-read RDF? wtf?
Look at how extensions are done for Eclipse or JBuilder. It's much cleaner. Don't want an extension anymore? Just delete the JAR or folder. That's it. And it's clean.
"Love heals scars love left." -- Henry Rollins
The Firefox/Firebird/Phoenix project was started with the intention of being a lean browser based on the Gecko engine because the Mozilla Suite (now Seamonkey) was so massively bloated that it was easier to essentially start over than it would've been to attempt to slim down the main codebase. Firefox absolutely did not start out being more bloated than Seamonkey, otherwise it would've betrayed the entire purpose of its existence.
There is no fix for that, because all your firefox tabs/windows are part of the same process. They're all created by the same process. The only fix is to run multiple copies of firefox and I don't think firefox likes it when you do that.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Most of my apps are using obscene amounts of RAM these days. Gaim/Pidgin for example, going by the RSS value, is using 32MB even when minimised to systray with no active conversations. The XFCE settings daemon is another 20, and that doesn't even have a GUI. Doesn't help much when I dumped KDE for it in the first place to try and fix exactly this...
There are a *lot* of printing bugs that cause the browser to get stuck in an infinite loop. Fix those! Please! Please!
I work on a web application where people print a lot and they cause the browser to crash all the time. You have to go to the task manager to kill the firefox process.
Don't add another feature until that is fixed, please.
*looks around*
Looks like the same old web to me!
User Interfaces have changed slightly, but they're still broken.
What was once considered 'immature' designs or 'designs for the mentally challenged' (i.e. huge text, bevels and gradients, huge icons, etc.) are now considered to be the defacto 'standard' for most of these 'bleeding-edge' web 2.0 sites.
I can understand the dumbing-down to meet the mass appeal (as the mass is rather intellectually challenged, and hence, web-challenged), but dumbing-down the development community with 'web 2.0' marketing hype, is another story.
Kool-aid.2.0 - no thanks!
the only permanence in existence, is the impermanence of existence.
It stores the rendered page, not the html, which is why it takes so much memory. 500k is small for a rendered page.
Expands until it can read your mail.
To be more correct, Firefox (well, Gecko) is largely single-threaded. All of the UI, DOM, and JavaScript [*] happen on the same thread. This particular case sounds like it's trying to lay out the page in the non-visible tabs, in which case there is indeed nothing you can do other than start a new process, due to Gecko limitations.
[*] For internal code, it is possible to use threads in a very small subset of JS (in particular, XPCOM components that don't have any interaction at all with the UI). That won't help in this case.
...was not to be the leanest and lightest browser out there; it was always to be a browser which had core functionality which was useful to most people, and could be extended. The features such as the microformat manager for v3 are not things one can easily and sensibly put in as an extension, as to stand any chance of being useful, they've got to be right in the core of the browser. The Firefox team does keep the overhead for new features down, and such features aren't going to get in people's way if they don't want them. Bloat would be an e-mail client, or web developer tools, as those are things that most people don't need, and wouldn't at all be useful for most people. On the subject of memory usage, it's been said before, but it's all a matter of setting the cache sizes correctly. Every large application has memory leaks, and they can be fixed (if people stop whining and start providing proof and valgrind output); the only major problem with Firefox at the moment as regards memory is that the cache sizes aren't quite right. Let me reiterate that: the couple of hundred MB of memory it's using is a cache, not a leak.
What's odd is that Opera packs all that stuff in and more (even a BitTorrent client!), and it's faster and more lightweight in terms of resource requirements. Even the download size is amazingly small. What is it that makes Firefox worse in that regard? The XUL stuff? Convoluted codebase making improvement difficult?
"Sufferin' succotash."
I was there.
In the early, early days of Firefox, Internet Explorer was pretty slow and bloated. Most of its snappiness came from being "part of the OS". (Or I was a deluded fanboy then, maybe...)
So, on Windows, you had the choice between Netscape (which was big and bloated), or Mozilla if you were smart (which was also big and bloated), or IE (which was bloated, for a browser). Mozilla was not so terribly bloated, except for the fact that it was a browser/mail/news/irc/dev platform/kitchen sink, and not just a browser. So, if you needed web and email, Mozilla was fine, but if you just needed web, IE was faster.
At the time, I believe Opera was somewhat buggy, and still cost money. I am not sure whether Konqueror existed or not; I only fairly recently became aware of KDE as being better than GNOME in just about every way (at least, as a desktop environment).
So, the Phoenix project was started. I used that from maybe 0.6, and it was good. A bit unstable, yes, but it would come back up in 2 seconds. And on the machines of the time, that was pretty damned impressive. It only seemed to be getting smaller and lighter. If anything was slow/buggy about it, it was that Phoenix required the full Mozilla sources, but the existance of Phoenix was actually cleaning up quite a bit of Mozilla.
And yeah -- Phoenix vs Mozilla was amazingly dramatic. Consider that Windows at the time sucked so much (at least for me) that I'd have used Linux even if it meant using Netscape 4.0, Mozilla was kind of ok. But Phoenix just kicked ass.
Now it's Firefox, though, which has sort of just become a word, and lost its meaning. I know why they changed the name, but still, Phoenix was cool -- the beast that was Mozilla (stomping on IE) had died, but from its ashes, Phoenix rose and became Firebird, something that could fly on its own, with no concern for IE at all...
So, where'd all that go?
Well, some of it's memory leaks. Some of it's almost by design -- note that Firefox uses Gecko for EVERYTHING. Firefox doesn't just embed Gecko, it IS a Gecko app. The menus, config options, the entire UI is coded in XUL, which is basically XML + JavaScript, with some C++ libraries. (Correct me if I'm wrong here.) Firefox itself was an AJAX app before AJAX even had a name. (And so was Mozilla.)
That's another part of it, but it's not really the whole picture.
Extensions, I think, are what kills it. The more extensions you add, the more likely you are to break something. At the same time, extensions are what sold it. There's still two that I miss dearly, now that I mostly use Konqueror -- adblock (the real adblock is so much better than Konqueror's adblock) and unplug (lets you download anything normally viewed via browser plugins, including YouTube videos as FLV files). For awhile, you could even get Thunderbird as an extension -- it was called something else at the time, I think -- and you still can get Sunbird as a Firefox or Thunderbird extension.
Extensions are the killer feature of Firefox, and they are also what kills Firefox performance.
I think it could have been a bit better. I know part of it is bad/buggy extensions, but I imagine part of it is also that extensions are written in XUL/JavaScript. I mean, yes, that enables them -- it's easy to transition from web developer to Firefox extension hacker -- but I do wonder, occasionally, if we could do better, starting from scratch. Konqueror is right out (though we might borrow KHTML or Gecko for awhile), but maybe something written in, say, Python, or LISP, or some good language with a really solid design? Maybe a killer app for its platform, so that people start making Python faster to make their browser faster? (If you think Python is fast enough, you're deluded -- why does the GIL still exist in these days of multicore processors?)
Don't thank God, thank a doctor!
GRANDMA, LISTEN ITS ABOUT:CONFIG
ABOUT WHO NOW?
CONFIG!!!
KENNY FIG??? Alpha Bravo Oscar Uniform Tango colon Charlie Oscar November Foxtrot India Golf
A user of mine had this problem yesterday. 5 minutes on Mozilla's knowledgebase does wonders.
Bullish Machine Tzar
Of course this is irrelevant, because real men use lynx.
Daniel
Yeah, they're currently addressing that problem by rewriting Gecko in PHP (the UI will, however, continue being written in their flavor of eXtended ML). It will run on Mozilla's webservers and you will be able to run Firefox via any compatible web browser.
Apple, OTOH, will rewrite Safari, KHTML, Konqueror and most of KDE in Objective Ruby, which will run on their iNternet iServers, accessible via iTCP/iP (compatible with Mac OS 10.9 and up). Right after they switch their kernel to Hurd.
Yes, that's exactly how the future is going to be or my name is not Sir Reginold Frankbarrister O'Fritzebolt-Tooley the Thirteenth!
USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
I agree -- halfway. Had early web browsers been strict about errors, we wouldn't have so much broken code out there, and cross-browser compatibility would be solely a matter of which features are supported -- not which set of error-correcting assumptions you expect.
On the other hand, the fact that those early versions of Mosaic, Netscape, IE, etc. would do something with broken code instead of refusing to display it meant that the barriers to entry were a lot lower. It vastly increased the pool of people who could create web pages, and the talent pool. Sure, some people have both artistic talent and programming ability, or have the resources to team up. But can you imagine a web built solely by programmers?
Eventually the authoring tools would have caught up. But I have to wonder if the web would be as big and diverse as it is now if it hadn't been able to pull in the casual author back in 1995.
Yes, we have crappily-coded sites like MySpace. On the other hand, 10 years ago the idea of visiting a website was inordinately dorky, and being online meant you were a social outcast. Now, it seems like being offline is considered freakish.
Exactly. 640K ought to be enough for anybody.
What a fool believes, he sees, no wise man has the power to reason away.
I'm surprised that no one has called me on my claim yet, but here's a sample demonstration anyway. Open the following the links in your favorite browser, in the order listed, keeping the IDG site at the top after you're done:
Shockwave site
Java site
Flash site
When I do that, VM Size goes over 150 MB and CPU usage goes over 20% in Firefox, IE, and Opera. It's not up to 250 MB and 50%, but you get the idea with just three tabs and a minute of browser usage. Just add a few more resource-heavy sites, and you can reach those numbers. Add in hours of heavy browsing on a variety of sites, and memory use in any browser can reach hundreds of megabytes.
Now it's time to provide the counter demonstration. Can someone provide a list of links that will cause Firefox to gobble up hideous amounts of memory, but not other browsers? If so, then finally we'll have some details about this problem once and for all!
What a fool believes, he sees, no wise man has the power to reason away.
A lot of people reminisce without thinking through the differences between then and now. A lot of us remember the days of 8MB, 16MB, and 64MB of RAM being enough for our needs, but don't take for granted the following:
1.) New rendering paradigms in the operating system that require more resources, like resolution independence, vector graphics, and hardware acceleration of window textures in Quartz and Avalon.
2.) In the same vein, screen resolutions and color depths have increased.
3.) Sound cards are operating at higher frequency and bit rates, and multiple speaker systems are not uncommon.
4.) Today's audio and video codecs are higher quality but more resource-intensive.
5.) Convenience services like metadata file indexing, spellchecking, garbage collection, automatic network configuration, automatically updating RSS feeds, background system snapshots (e.g., System Restore), automatic file defragmentation ala Mac OS X, and more.
6.) Today, I bet you commonly have 20 or 30 browser tabs open at times, maybe more. Five years ago, you might have had only five or ten open. Before that, you only browsed with one or two windows open at a time. And websites back then used lower quality JPEGs and GIFs, while today we have high-resolution, high-quality PNGs and JPEGs and high-quality video clips running through Flash and Quicktime.
We have a lot more things running at once that all add up, and to have all these things running smoothly enough for a responsive user interface, it takes a lot of resources allocating precious cycles at every opportunity. Your 48MB GameCube doesn't have to run a general purpose operating system, and its specs are set in stone so that developers can specifically optimize for it to extreme degrees that desktop applications relying on high-level APIs and cross-platform compatibility can't afford.
"Sufferin' succotash."
The number and severity of its security problems certainly qualify as "horrible." Obvious? Depends on who you ask. I'm in IT; I think so. Most people in IT would probably agree with that. End users? Maybe not. They have a different idea of "obvious" than most /. readers.
To put this into perspective, I haven't had a security problem on a windows box in over four years. All you need is to follow some good practices and you're perfectly safe. Vista with its limited user powers should help a lot in reducing the effort involved in those "good practices".
I love my Mac, but WTF do I have to reboot after updates?
Because the kernel has been updated. After you update itunes a reboot is not needed.
Is it horrible that an OS designed in the late 1960s, when the industry was still so young and inexperienced with security, is better-designed than NT and its descendants, which were designed twenty years later?
If you're referring to multics, no commercial operating systems have caught up to that yet. If you're referring to unix I have to disappoint you, unix was not designed to be inherently secure. On early versions there were many security issues, because the concept of limited user powers took a while to gain a foothold, and even when they did the system's design was still full of security holes. The first internet worm (the morris worm) specifically targeted unix systems, in case you've forgotten. Just look at the security track record of commercial unices. It's pretty poor.
Linux is not inherently more secure than other commonly available operating systems, it's just too much of a moving target because there is no binary stability, so a worm can't target large swaths of systems at the same time. That binary instability is a strength, but it's also the reason why there are so few binary drivers and commercial applications on linux.
There's ancient bug about mozilla coming up sloooooooooow in Win32 after it's been on for a long time. We're talking about mozilla 0.8 era bug and it affects all the related products that I'm aware of (TB, FF, probably even the calendar app)
The crux of the problem is that the bug affects only win32. So the developers, one and all, refuse(d) to treat it as a codebase problem because it has to be a windows problem.
"slow" in this instance means over 1 minute and easily 2-3 minutes. I even demonstrated at the time that it's not paging issue as such as mozilla/FF sits doing absolutely nothing (from perfmon monitor tool) for long period and when it finally starts swapping pages in it happens pretty quickly (5-10sec)
It was subsequently "fixed" by making FF etc hold on to the memory they've reserved instead of releasing it back to the OS. Hence you get ridiculous 300MB memory footprint that shrinks to 50MB after restarting FF even with the same pages open. Same goes for TB and all the other apps I'm sure.
So if you've got any kind of memory leak, mozilla apps want to keep it all in ram.
In a moment I'll talk about my views on rewriting large code bases, but first I'll say that I'm glad I wasn't the only one who was with the GP poster up until the SML advocacy, and then disagreed. Even given the neat way that functional languages tend to model parsing problems, web browsers do a lot more than parse HTML and CSS files. In fact, I'd go as far as to say that this is the easiest problem they solve. Systematically resolving the layout rules in arbitrarily complex cases is a somewhat difficult problem, given the way those rules are expressed in CSS. And of course, web pages are no longer the static things they used to be: today's browsers need to cope with scripts moving the goalposts arbitrarily, maintaining the integrity of the display as much as possible during lengthy downloads of large pages or after AJAXified updates, etc. etc. It's far from clear that a language like SML offers better support for these naturally concurrent operations than the many alternatives.
I do disagree with the parent post on one fundamental point, though:
I'll see your reuse dogma, and raise you my "plan to throw one away" dogma. :-)
Actually, I don't cite this as some sort of dogmatic adherence to ConceptsTryingToSoundMoreCleverThanTheyAre at all. Rather, I happen to agree with the principle based on practical experience. In general, software design is difficult, and few people are good at it. Even those who are rarely have the good fortune to know exactly what their design will be called upon to do a few years later, and will inevitably allow more flexibility (and commensurate overhead) in some places than is really needed, while making some things unnecessarily strict and thus making later changes more difficult than they might have been.
It's been my experience that in long-term projects, far too many managers aren't willing to throw out a whole module, subsystem, or even product, because of popular wisdom that anything they replace it with will just have bugs of its own. I believe this is a mistake because, again speaking only from my own experience, a high proportion of bugs originate in special or boundary cases. According to my reasoning above, a new project built from scratch with no prior experience will rarely get an overall design that automatically avoids these completely. Discipline is rarely good enough on software projects to allow for this and ensure that new requirements are integrated into a clean overall design rather than bolted on; indeed, in a commercial environment, this may not be realistic given short term deadlines and the typical management and marketing pressures. However, over time, such bolted-on special cases will tend to build up. They start to interact, they don't always get properly documented, and new people on the project team either don't know about them or at best don't know all the original reasoning behind them, making safe maintenance difficult.
Sometimes, this problem is manageable, particularly if your project leadership consistently take a long-term view and give maintenance and testing the priority they deserve. But usually, IME, the problem reaches a certain critical mass where the costs of ongoing development of a code base full of dubiously documented special cases outweigh the costs of stopping to clean things up.
As an additional, very practical concern, tools and programming techniques are always developing. Over the sort of timescales we're talking about here, it's entirely possible that more effective tools will have been created, or more effective techniques discovered, that could solve the underlying problem much more effectively in a different way.
Thus, s
If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
Firefox started out with the goal to be leaner. This goal was not reached.
Before you people mod me down for stating this, and before you mod the Firefox apologist up, please do a comparison between any two concurrent release versions of Firefox and plain Seamonkey. The Firefox version has always had a bigger footprint than Seamonkey. Yes, really. Try it, dammit!
And also keep in mind that Seamonkey builds on the Gecko engine that Firefox uses, and not, like some people seem to think, the Mozilla codebase with proprietary code going all the way back to Mosaic.
The big difference is that Seamonkey follows the Mozilla suite paradigm of separating out the major pieces and allowing them to be installed or not as per the user's preference, while Firefox became an "Everything but the kitchen sink" project, where "kitchen sink" equals e-mail. This despite the intentions to be lean. Things included with Firefox have been stripped from Seamonkey, because if a user wants to install "Browser only", that's what the user should get -- not fifty different built-in "helper" apps that may or may not assist with certain types of browsing.
Both are great browsers, but they are directed toward different audiences. If you want the leaner version, try Seamonkey "browser only" install before assuming that it's going to be big and bloaty. You may be in for a surprise.
--
*Art
I refuse to use FF2 anymore. It takes FOREVER to save images, and even worse, while it's taking forever, it essentially locks up FF, leaving it unusable for up to 2 minutes at a time. This is completely unacceptable, IE3 with a 56k connection saved images faster.
Delete the downloads.rdf from whatever directory your profile is stored in. Instead of complaining you could have just googled for "firefox slow downloads".
Enjoy,
It's just the normal noises in here.