The browser wars heat up: Google Chrome
Moderator: Thanas
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
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.
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
"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
- Drooling Iguana
- Sith Marauder
- Posts: 4975
- Joined: 2003-05-13 01:07am
- Location: Sector ZZ9 Plural Z Alpha
I find that to be a bit over-kill. Why not just have the plugins run in their own sandboxes?
"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
"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
- Losonti Tokash
- Sith Devotee
- Posts: 2916
- Joined: 2004-09-29 03:02pm
I'd like to mention that this went away as soon as I rebooted.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.
- Durandal
- Bile-Driven Hate Machine
- Posts: 17927
- Joined: 2002-07-03 06:26pm
- Location: Silicon Valley, CA
- Contact:
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.Drooling Iguana wrote:I find that to be a bit over-kill. Why not just have the plugins run in their own sandboxes?
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
"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
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.
EDIT: Also, this appears to be what nspluginwrapper does on *nix platforms to allow AMD64-compiled browsers run IA32 plugin binaries.
- Zed Snardbody
- Jedi Council Member
- Posts: 2449
- Joined: 2002-07-11 11:41pm
- General Zod
- Never Shuts Up
- Posts: 29211
- Joined: 2003-11-18 03:08pm
- Location: The Clearance Rack
- Contact:
Isn't Flash rather problematic regardless of the browser it's on anyway? From what I understand it's a rather massive CPU hog.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.
"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."
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.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.
- Dahak
- Emperor's Hand
- Posts: 7292
- Joined: 2002-10-29 12:08pm
- Location: Admiralty House, Landing, Manticore
- Contact:
The federal office for security in information technology is of the opinion that Chrome is not yet fit for general usage.Phantasee wrote:So apparently the German gubmint doesn't want its citizens to use Chrome...wonder what's up with that?
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.
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.
- Zed Snardbody
- Jedi Council Member
- Posts: 2449
- Joined: 2002-07-11 11:41pm
- Battlehymn Republic
- Jedi Council Member
- Posts: 1824
- Joined: 2004-10-27 01:34pm
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...Zed Snardbody wrote:Holy fuck this thing flies! I feel like I've gone from a damn four banger to a fucking vette.
∞
XXXI
- Sarevok
- The Fearless One
- Posts: 10681
- Joined: 2002-12-24 07:29am
- Location: The Covenants last and final line of defense
Yes. Hacker sites like milw0rm already has automatic file download and other exploits for chrome published.Dahak wrote:The federal office for security in information technology is of the opinion that Chrome is not yet fit for general usage.Phantasee wrote:So apparently the German gubmint doesn't want its citizens to use Chrome...wonder what's up with that?
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.
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.
- Admiral Valdemar
- Outside Context Problem
- Posts: 31572
- Joined: 2002-07-04 07:17pm
- Location: UK