The browser wars heat up: Google Chrome

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

User avatar
Durandal
Bile-Driven Hate Machine
Posts: 17927
Joined: 2002-07-03 06:26pm
Location: Silicon Valley, CA
Contact:

Post by Durandal »

So far, no one's mentioned what is, in my opinion, the most important aspect of Chrome. It loads a separate renderer process instance for every window and tab. Each page is rendered in its own address space, meaning that a crash in a plug-in won't take down the entire browser. Nor will a poorly- or maliciously-written piece of JavaScript. So Google is trading some overhead in the overall browser's performance (and also some complexity trade-offs) for better robustness.

This is probably the future of web browsers if they are to continue supporting plug-ins. If you want to know what I'm talking about, check out your Safari crash logs sometime. Their stack traces will most likely be dominated by calls into the Flash plug-in.
Damien Sorresso

"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
User avatar
Drooling Iguana
Sith Marauder
Posts: 4975
Joined: 2003-05-13 01:07am
Location: Sector ZZ9 Plural Z Alpha

Post by Drooling Iguana »

I find that to be a bit over-kill. Why not just have the plugins run in their own sandboxes?
Image
"Stop! No one can survive these deadly rays!"
"These deadly rays will be your death!"
- Thor and Akton, Starcrash

"Before man reaches the moon your mail will be delivered within hours from New York to California, to England, to India or to Australia by guided missiles.... We stand on the threshold of rocket mail."
- Arthur Summerfield, US Postmaster General 1953 - 1961
User avatar
Losonti Tokash
Sith Devotee
Posts: 2916
Joined: 2004-09-29 03:02pm

Post by Losonti Tokash »

Losonti Tokash wrote:Problem I've had come up that didn't occur the first couple times I used Chrome: it now seems to be "always on top" and I have to minimize it to get to any other programs I have running. I also autohide my task bar and when Chrome is maximized the task bar doesn't reappear when I move the mouse to the bottom of the screen.
I'd like to mention that this went away as soon as I rebooted.
User avatar
Durandal
Bile-Driven Hate Machine
Posts: 17927
Joined: 2002-07-03 06:26pm
Location: Silicon Valley, CA
Contact:

Post by Durandal »

Drooling Iguana wrote:I find that to be a bit over-kill. Why not just have the plugins run in their own sandboxes?
Because that's not how plug-ins are typically implemented. If you load the plug-in in its own address space ... then what? The browser can't call into it; it's a separate address space. The plug-in can't draw in the browser's window; it's a separate address space. Unless you do it with shared memory or IPC, in which case you end up taking lots of round trips through the kernel to get your work done, and you take a performance hit.

This would require a recompile (at the very least) of plug-ins, since they're basically run-time libraries, not actual processes. They don't have a starting point of execution. What you're asking for is a complete re-architecting of how browser plug-ins are made. I'm not saying it's impossible, just very difficult to do in a way that would be binary-compatible with existing plug-ins. I guess you could use a proxy process to execute, load the plug-in into its address space and then listen for messages from the browser, dispatch them to the proper functions in the plug-in and then send the data back. But the proxy still has to be able to draw into another process' address space -- you don't want to send individual frames of animation over IPC, for example. That'd be slower than shit.

And, if you want to do this in a binary-compatible way, you'd run into potential symbolication problems as well as issues with properly marshaling arguments for transport and then un-marshaling them for the call.

So yeah. Not an easy problem.
Damien Sorresso

"Ever see what them computa bitchez do to numbas? It ain't natural. Numbas ain't supposed to be code, they supposed to quantify shit."
- The Onion
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

According to page 31 of the introductory comic, plugins actually are running in a separate process.

EDIT: Also, this appears to be what nspluginwrapper does on *nix platforms to allow AMD64-compiled browsers run IA32 plugin binaries.
User avatar
Zed Snardbody
Jedi Council Member
Posts: 2449
Joined: 2002-07-11 11:41pm

Post by Zed Snardbody »

Anyone run into trouble installing it? I accepted the terms and the bloody little circle just keep rotating no other prompt and nothing happens.
The Zen of Not Fucking Up.
User avatar
General Zod
Never Shuts Up
Posts: 29211
Joined: 2003-11-18 03:08pm
Location: The Clearance Rack
Contact:

Post by General Zod »

Durandal wrote:
This is probably the future of web browsers if they are to continue supporting plug-ins. If you want to know what I'm talking about, check out your Safari crash logs sometime. Their stack traces will most likely be dominated by calls into the Flash plug-in.
Isn't Flash rather problematic regardless of the browser it's on anyway? From what I understand it's a rather massive CPU hog.
"It's you Americans. There's something about nipples you hate. If this were Germany, we'd be romping around naked on the stage here."
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

General Zod wrote:Isn't Flash rather problematic regardless of the browser it's on anyway? From what I understand it's a rather massive CPU hog.
Part of it is that Flash is being asked to a do a lot more than it was originally architected for (which was simple vector animation), part of it is that a great deal of flash applications are incompetently programmed.
User avatar
Phantasee
Was mich nicht umbringt, macht mich stärker.
Posts: 5777
Joined: 2004-02-26 09:44pm

Post by Phantasee »

So apparently the German gubmint doesn't want its citizens to use Chrome...wonder what's up with that?
XXXI
User avatar
Dahak
Emperor's Hand
Posts: 7292
Joined: 2002-10-29 12:08pm
Location: Admiralty House, Landing, Manticore
Contact:

Post by Dahak »

Phantasee wrote:So apparently the German gubmint doesn't want its citizens to use Chrome...wonder what's up with that?
The federal office for security in information technology is of the opinion that Chrome is not yet fit for general usage.
For one, being Beta and maybe published prematurely due to the leakage, they have some doubts about the amount of bugs it still might contain, as well as security holes (and under the consideration that it's mostly not tech-savy people using it). Another big concern is data protection, as Chrome is, like other Google apps, collecting a lot of personal data without much control.
Image
Great Dolphin Conspiracy - Chatter box
"Implications: we have been intercepted deliberately by a means unknown, for a purpose unknown, and transferred to a place unknown by a form of intelligence unknown. Apart from the unknown, everything is obvious." ZORAC
GALE Force Euro Wimp
Human dignity shall be inviolable. To respect and protect it shall be the duty of all state authority.
Image
User avatar
Zed Snardbody
Jedi Council Member
Posts: 2449
Joined: 2002-07-11 11:41pm

Post by Zed Snardbody »

Holy fuck this thing flies! I feel like I've gone from a damn four banger to a fucking vette.
The Zen of Not Fucking Up.
User avatar
Battlehymn Republic
Jedi Council Member
Posts: 1824
Joined: 2004-10-27 01:34pm

Post by Battlehymn Republic »

Drooling Iguana wrote:
Battlehymn Republic wrote:Google is a Microsoft wolf in the skin of Apple. Nice.
A wolf in a slightly better-groomed wolf's clothing?
A hipster wolf who knows he's cool yet pretends he's not evil.
User avatar
Phantasee
Was mich nicht umbringt, macht mich stärker.
Posts: 5777
Joined: 2004-02-26 09:44pm

Post by Phantasee »

Zed Snardbody wrote:Holy fuck this thing flies! I feel like I've gone from a damn four banger to a fucking vette.
It starts up faster than Firefox, hell, it beats most of the applications I usually start right after log-in by quite a bit, but once you start using it on more than one website that requires more than HTML it starts to lag quite a bit. The whole window freezes up all the time on me, even on Facebook. And of course Google isn't going to release any sort of adblocking plug-in itself...:roll:
XXXI
User avatar
Sarevok
The Fearless One
Posts: 10681
Joined: 2002-12-24 07:29am
Location: The Covenants last and final line of defense

Post by Sarevok »

Dahak wrote:
Phantasee wrote:So apparently the German gubmint doesn't want its citizens to use Chrome...wonder what's up with that?
The federal office for security in information technology is of the opinion that Chrome is not yet fit for general usage.
For one, being Beta and maybe published prematurely due to the leakage, they have some doubts about the amount of bugs it still might contain, as well as security holes (and under the consideration that it's mostly not tech-savy people using it). Another big concern is data protection, as Chrome is, like other Google apps, collecting a lot of personal data without much control.
Yes. Hacker sites like milw0rm already has automatic file download and other exploits for chrome published.

No one should do important work in a beta browser. But a lot of people are just too ignorant to know and will use whatever looks shiny and kewl.
I have to tell you something everything I wrote above is a lie.
User avatar
Admiral Valdemar
Outside Context Problem
Posts: 31572
Joined: 2002-07-04 07:17pm
Location: UK

Post by Admiral Valdemar »

Is that also why Gmail is still in beta? LOL, it's only been around since, what, 2004?
Post Reply