(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Chrome for OS X

2009/06/06





Google released "Developer versions" of Chrome this week. The blog headline warns "Danger: Mac and Linux builds available" and notes that many normal browser features are still missing and to expect instability.

I found Chrome on OS X to be less balky than you might expect from such warnings. I'm predisposed to cut Chrome a lot of slack because I'm so sick of Firefox giving me spinning beach balls that require me to force quit. Chrome puts each tab in a separate process; if it does run into problems only that tab should give me grief.

You can see that in this snapshot - each Chrome process here is just a tab I have open. Notice the odd "not responding" indication - in fact, these tabs were all working fine when I captured that.


Chrome in Activity monitor

At first blush, the separate process idea seems terribly wasteful. However, it's not entirely what it seems: those processes do have shared memory.

Chrome has some other ideas - the "incognito window" will surely appeal to porn surfers and those people who still get excited about cookies.. I'm not entirely clear on why anyone else cares about this, but IE offers the same thing so there it is. Google says "For times when you want to browse in stealth mode, for example, to plan surprises like gifts or birthdays, Google Chrome offers the incognito browsing mode". Sure, that's what people use this for.

What Chrome lacks is all the useful add-ons of Firefox. As much as I hate Firefox for its insane memory usage, its moronic use of Sqlite and its rampant crashes, I find it very hard to live without some of its features and extensions. Chrome may eventually meet my needs, but it doesn't now.


;


Click here to add your comments





Sun Jun 7 06:02:22 2009: Subject:   jtimberman
http://twitter.com/jtimberman
gravatar
I too am pretty tied into Firefox and a two extensions I consider essential features that all browsers should support.

Adblock+: Sorry, I am not going to click the ads anyway, why would I want to see them. No seriously, in 15 years of using the WWW, I have never clicked an advertisement on a web site.

NoScript: I get the whole debacle about NoScript "directing" people toward its own ads and ninja-blocking the Adblock that blocked them (ugh), but whatever. Its still the best security-related extension.

I've tried to use Safari on OSX and Chrome on Windows (and now OSX), but I can't hang without the Firefox extensions. I also have myopenid.com set up as an SSL certificate for authentication, so I'd have to do the certificate export dance to make it work on other browsers.

I don't run into the memory leak and non-responsive issues on Firefox that you speak of and that many other people complain about. Probably because I usually have less than a dozen tabs open, and I block Ads, JavaScript, and Flash Ads everywhere by default :-).



Sun Jun 7 06:47:37 2009: Subject:   drag

gravatar

I know that for Linux when you call a fork and spawn a new process the action is COW, or copy on write. That way when you have shared resources they all share the same memory. It is only when the new tab starts generating it's own information is when it will start having a unique copy of the memory.

And that works out great for browsers. Since the only unique information for a browser tab is going to be the actual web page then your not being wasteful at all.

And starting new processes is cheap. Very quick. In fact.. Until NPTL threads came along for Linux there was essentially no difference in how Linux handled threads vs process in the kernel area.. I assume that it is somewhat similar for OS X.

With Windows, unfortunately, the act of creating a new process has a lot of overhead. It is very expensive and very slow, relatively, so for high performance most programmers are forced to adapt a threading model for application development. Which is were you get the the notion that threads are fast and processes are slow. That is only true on Windows. In Linux processes can be very fast and depending on the task at hand they are actually preferable.

For example.. if you want to build a truley scalable application then you don't want to use just threads. You would probably use a combination and then use processes mainly and use sockets as IPC. Why? Because then you can easily make the transition to running your software over clusters with TCP/IP-based IPC. If you only do multi-threading then you need to have a way to share memory over all your processes, with Linux and clustering there is currently no way to do that over a network...

The Chrome, I expect, is a offshoot of some other project originally. And it probably shows a lot about the preferred programming model for Google and their internal stuff.

And after trying Chrome on Linux it is, indeed, very fast.



Sun Jun 7 10:06:21 2009: Subject:   TonyLawrence

gravatar
I had to take out NoScript - it was the source of most of my problems. Hated to do it.

Ignoring forking encourages, even requires, large monolithic programs that try to "do it all". That's almost the definition of Microsoft programming.



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



numly esn 63701-090606-554146-34
numly barcode

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




pavatar.jpg
More:
       - MacOSX


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress