Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Google Businesses The Internet

Examining Chrome's Source Code 288

An anonymous reader writes "Chrome is open source, and there's clearly still some work to be done on it. In this article, Neil McAllister decided to take a peek under Chrome's hood and view it through the eyes of the developers who will improve and maintain it in the coming years. It seems Google's open source browser currently has much to offer prospective hackers — provided they use Windows. Quoting: 'The Chromium site explains how to download the source code for Linux, Mac OS X, or Windows. Unfortunately, if you're eagerly awaiting a Mac version of Chrome, you shouldn't hold your breath. As the Mac OS X area of the Chromium developer site explains, "Right now, the Mac build is a work in progress that is much closer to the start than the finish." In fact, according to the latest status report, the Chrome developers have yet to get even the browser core running under Mac OS X. Rendering actual Web pages is still a long way off, to say nothing of a usable Aqua GUI. Then again, the Linux version is in arguably even worse shape.'"
This discussion has been archived. No new comments can be posted.

Examining Chrome's Source Code

Comments Filter:
  • by hansoloaf ( 668609 ) <hansoloaf@[ ]oo.com ['yah' in gap]> on Saturday September 13, 2008 @08:06AM (#24989393)
    How can it be? After all it's based on Webkit.
  • by Anonymous Coward on Saturday September 13, 2008 @08:10AM (#24989411)

    They still have a near monopoly on the entire Linux desktop market!

    • by Simias ( 953970 ) on Saturday September 13, 2008 @08:16AM (#24989439)

      And google is really happy with that. They don't need to target the linux market because Mozilla is already working for them here.

      The target is obviously internet explorer.

      • by wisty ( 1335733 ) on Saturday September 13, 2008 @08:37AM (#24989553)
        And they don't want to destroy the innovative, anti-Microsoft, pro-Google Firefox or Safari browsers. No sensible parasite kills its host. They only want to take down IE, which drives traffic to MS search.
        • Well, mozilla is cofounded by google. Mozilla made svg plugin for IE. So is it embrace, extend and now it will be extinguish?
        • And they don't want to destroy the innovative, anti-Microsoft, pro-Google Firefox or Safari browsers. No sensible parasite kills its host. They only want to take down IE, which drives traffic to MS search.

          Wow, Google is a parasite on Firefox huh? Look, I'm as big a Firefox fan as anyone, but that's really stretching it quite a bit... your first and last sentence are spot-on though :)

      • by Firehed ( 942385 ) on Saturday September 13, 2008 @10:24AM (#24990195) Homepage

        But of the eleventy billion IE users who still haven't switch to !IE, why would they switch to Chrome? I think the vast majority of them can be split into two groups: their bank/intranet/some stupid thing/fucking activex/etc doesn't work right elsewhere, and "the blue e takes me to the internet!". The first group can't switch and the second just doesn't care - why/how would Chrome change that?

      • Re: (Score:2, Insightful)

        by Evenstone ( 957409 )
        The target is to control the platform that they write all their software for.
      • by kripkenstein ( 913150 ) on Saturday September 13, 2008 @10:55AM (#24990439) Homepage

        And google is really happy with that. They don't need to target the linux market because Mozilla is already working for them here.

        The target is obviously internet explorer.

        I disagree for two reasons.

        First, we can only presume Google wants Chrome to run on Android, Google's handset OS. Which is based on Linux. So clearly Google has a direct and powerful motivation to target Linux with Chrome. (In fact a much stronger motivation than to get Chrome running on OS X - I wouldn't be surprised to see the Android/Linux version out earlier.)

        Second, one of the best ways to weaken IE is to weaken Windows - the less people running Windows, the less run IE. But if Chrome is Windows-only, that just strengthens Windows as the only platform able to run the 'best' browser ('best' at least in Google's eyes and those that like Chrome).

        In other words, every IE convert to Chrome is still locked in to Windows. Whereas Google's long-term goal is to make the OS irrelevant so long as it can access Google's web services.

    • by dotancohen ( 1015143 ) on Saturday September 13, 2008 @08:21AM (#24989469) Homepage

      They still have a near monopoly on the entire Linux desktop market!

      Truth is, I don't really care if Chrome runs under Linux or not. What _is_ important is that there is a lot of buzz about a non-IE browser out there, and that will help Linux users no matter which browser they use. Chrome will get the attention of at least some PHBs and Frontpa^w webdevs who code IE-only websites. I have been complaining about this for years [dotancohen.com] but now there finally is a product that they will have a hard time ignoring. Firefox was close, but was only talked about by gearheads. Even my mother-in-law asked me about Chrome. Which is too bad, as she's on Ubuntu and feels left out...

      • by sznupi ( 719324 ) on Saturday September 13, 2008 @09:06AM (#24989687) Homepage

        Unfortunatelly, Firefox wasn't close at all; it simply shifted the mindset in most places from "we support only IE" to "we support only IE and Firefox".

        It was noticeable when you use something else, like Opera... (luckily not on sites originating in my area of the world, since Opera here has from 5 to 25 percent, depending on the country; and since Firefox has over 40% in most of them, aiming sites for duopoly doesn't work)

        Seems like three major browsers is a minimum needed for them to start noticing _true_ interoperability...

        • Unfortunatelly, Firefox wasn't close at all; it simply shifted the mindset in most places from "we support only IE" to "we support only IE and Firefox".

          While I agree with you, I must say that IE+Fx is better than IE-only, even for Opera users, as it is a cross-platform solution. It now boils down (for the most part) to an issue of user preference, rather than locking out specific OS's. Of course, there are platforms that Opera runs on that do not have a Trident or Gecko based browser available, but none of those are used as common PC's.

          • by sznupi ( 719324 )

            Well that's the thing - somehow better, perhaps. But not _really_ better. You had no chance of experiencing that...Opera was largery neglected even by Google...

            Interestingly - Google services are lately improving when viewed in Opera. Perhaps it has something to do with new Opera version, but perhaps also with Chrome...

      • well there's an easy fix for your mother-in-law, just install windows and chrome will run just fine. ... oh wait

  • What I don't get... (Score:5, Interesting)

    by Angstroem ( 692547 ) on Saturday September 13, 2008 @08:14AM (#24989427)

    So they want to develop a cross-platform browser.

    Why exactly is it then tied that tightly to a platform that porting it over to other platforms seems to basically mean starting all over again? After all, it's not like all 3 platforms would be completely alien in the backend -- they are POSIX compliant. Then the GUI: it's not like there aren't any cross-platform widget sets out there. But even if you want to go for individual approaches for each platform, then you still can separate functionality from the GUI.

    So why again is the Mac port "closer to start than finish" (especially when reminding that Chrome is based on Webkit) and the Linux port "even worse"?

    • by mikeplokta ( 223052 ) on Saturday September 13, 2008 @08:31AM (#24989527)

      Cross-platform widget sets are always dreadful. An application developed using cross-platform widgets will, at best, work well on one platform, and more usually on no platforms. OS X and Windows have different UI philosophies, and an OS X application needs a different UI from a Windows application.

      • by HuguesT ( 84078 ) on Saturday September 13, 2008 @09:28AM (#24989821)

        Not that different really. Qt does a very cross-platform good job, and several other toolkits do a more-than-passable job as well such wxWidget or FLTK.

        To me cross-platform is the only way to go, if you don't want your code to obsolete itself in no time at all.

        • by TheRaven64 ( 641858 ) on Saturday September 13, 2008 @10:38AM (#24990301) Journal
          Have you ever used a Qt application on OS X? They stick out like a sore thumb. I think they've possibly fixed it in later versions, but until recently even trivial things like the keyboard shortcuts for skipping forwards and backwards one word in a text field were different from every other OS X application. The menus usually have a different structure, the preferences panels are typically horrendous, the services menu doesn't work correctly - they're so frustrating to use that they're typically not worth the bother.
          • Have you ever used a Qt application on OS X? They stick out like a sore thumb. I think they've possibly fixed it in later versions, but until recently even trivial things like the keyboard shortcuts for skipping forwards and backwards one word in a text field were different from every other OS X application. The menus usually have a different structure, the preferences panels are typically horrendous, the services menu doesn't work correctly - they're so frustrating to use that they're typically not worth the bother.

            Do you mean to say that OS-X breaks convention by using non-standard keyboard shortcuts? The menu differences I could understand, there is no innovation without change and OS-X is a very innovative OS. However, I use Ubuntu with KDE at home, the mother-in-law is on Ubuntu with Gnome at her place, and I use Windows XP at the university. All these OSes have more or less the same keyboard shortcuts, as well as the applications that run on them. I am a heavy keyboard user so I would find it unwieldy to use a ma

            • by TheRaven64 ( 641858 ) on Saturday September 13, 2008 @11:14AM (#24990577) Journal

              Do you mean to say that OS-X breaks convention by using non-standard keyboard shortcuts?

              In OS X, option-left and option-right skip one word to the left or right respectively. This has been the case since the first release of MacOS in 1984. Windows did not exist then, and there were no standards in early X11 toolkits (there still aren't - in 2005 I was using an X11 desktop and had four applications open with different shortcuts in text fields - gtk, tk, Qt and XUL were all doing things subtly differently). Windows standardised on control-left/right, because PCs didn't have an option key and alt was used for the menu (because PCs didn't have a meta key either). It's nothing to do with OS X 'innovating' and 'using non-standard shortcuts,' it's to do with Qt refusing to respect a core element of a user interface that has remained unchanged on a platform for 24 years.

        • by Anpheus ( 908711 )

          *hurk*

          Wait, what? You think Qt does a very cross-platform good job? Is that different from a very good cross-platform job? I'm confused because I think you just said there's a cross platform UI kit that doesn't look like another OS just regurgitated its UI quirks into another OS. Please, do go on.

        • by anon mouse-cow-aard ( 443646 ) on Saturday September 13, 2008 @12:06PM (#24990977) Journal

          mod-parent up. QT is the native toolkit for KDE.
          IT isn't some artificial toolkit people only use for cross platform work, wxwindows or tk. It's a real native toolkit on Linux.

          Heck, there's a windows port of KDE4.x in the works.
          I mean come on...

      • Re: (Score:2, Interesting)

        by dgriff ( 1263092 )
        Check out SWT [wikipedia.org] which is available for C++ as well as Java.
      • The idea that you have to construct a totally separate UI for each platform is silly. It seems like a great idea until you start actually doing it - and then you start getting buried in UI code, not to mention the usual problem of having at least one port being done in a rather lackluster way.

        To be honest, developing UIs seems to be one of the most common areas that I see NIH syndrome. Devs gripe about a mostly-working "out of the box" widget set (because you still have to do an extra 20% work to optimize a

      • Re: (Score:3, Interesting)

        by Eil ( 82413 )

        Cross-platform widget sets are always dreadful. An application developed using cross-platform widgets will, at best, work well on one platform, and more usually on no platforms. OS X and Windows have different UI philosophies, and an OS X application needs a different UI from a Windows application.

        Not true. Qt4 is widely regarded as an excellent open source toolkit and does cross-platform very very well. And since they're using WebKit for the rendering engine (based on KTHML which was designed to work with

    • > So they want to develop a cross-platform browser.

      I see no evidence of that.

      • by mrjb ( 547783 )
        What about their development site [chromium.org] which explains how to build chromium on Windows, MacOS and Linux?
        • by HuguesT ( 84078 )

          Chromium the rendering engine and associated libraries looks to be the backend of Chrome, the browser.

          The latter is not available to any other platform than Windows.

    • by FooBarWidget ( 556006 ) on Saturday September 13, 2008 @08:48AM (#24989599)

      "After all, it's not like all 3 platforms would be completely alien in the backend -- they are POSIX compliant."

      Uh, sorry? Since when is Windows POSIX compliant? Windows seems to be the only major modern OS in existence that's not POSIX compliant.

      I know that Windows provides some POSIX support, but it's broken and non-compliant in various ways. For example fork() is not supported.

      • by Haeleth ( 414428 ) on Saturday September 13, 2008 @09:15AM (#24989731) Journal

        Windows provides basic support for POSIX.1, but it's always been a second-class citizen and was only added to meet some US government requirement or other.

        There is also SFU, or whatever they're calling it these days, but IIRC that's never been easy to integrate with the Windows GUI, and isn't available for major OSes like XP Home anyway.

        To all intents and purposes, if you want to target Windows you either need to use a proprietary Microsoft API, or you need to use a compatibility layer or cross-platform library that translates to a proprietary Microsoft API; this last option is the one used by real cross-platform browsers like Firefox and Opera.

      • by HuguesT ( 84078 )

        Enterprise-level [msdn.com]versions of Windows are fairly posix-compliant.

        For all the others there's various libraries and environments like cygwin [cygwin.com] that support various degrees of Posix for Windows. It is easy to find a fork() for windows, or indeed posix threads, etc.

        • Re: (Score:3, Informative)

          by SEE ( 7681 )

          It is easy to find a fork() for windows, or indeed posix threads, etc.

          In fact, Chrome/Chromium actually uses the Pthreads for win32 [google.com] library.

      • by pthisis ( 27352 ) on Saturday September 13, 2008 @10:00AM (#24989983) Homepage Journal

        I know that Windows provides some POSIX support, but it's broken and non-compliant in various ways. For example fork() is not supported.

        Not true.

        Microsoft Windows Internals, 4th. Ed (Russinovich & Solomon), p. 60:

        Because POSIX.1 compliance was a mandatory goal for Windows, the operating system was designed to ensure that the required base system support was present to allow for the implementation of a POSIX.1 subsystem (such as the fork function, which is implemented in the Windows executive, and the support for hard file links in the Windows file system).

        And to head off the next common incorrect belief, p.394:

        The POSIX subsystem takes advantage of copy-on-write to implement the fork function. Typically, when a UNIX application calls the fork function to create another process, the first thing that the new process does is call the exec function to reinitialize the address space with an executable program. Instead of copying the entire address space on fork, the new process shares the pages in the parent process by marking them copy-on-write.

        The POSIX subsystem blows for a host of reasons (you can't access most normal Win32 functionality, at least not easily), but it's got fork.

        • by cecom ( 698048 ) on Saturday September 13, 2008 @12:44PM (#24991267) Journal

          Let me clarify a common misconception. Windows is _NOT_ POSIX compliant for all practical intents and purpose for one simple reason: an application using the POSIX subsystem doesn't have access to the Win32 subsystem, making it completely useless.

          For example, you cannot use POSIX functions (fork, etc) and use Win32 GUI at the same time. Thus the need for solutions like Cygwin, which emulate POSIX with enormous performance cost.

          I hope this puts the Windows POSIX compatibility myth to rest forever and nobody on SlashDot will make it ever again :-)

          • Re: (Score:3, Interesting)

            by Tacvek ( 948259 )

            TThis is somewhat odd though. The original NT Posix subsystem at the very least, was not an independent subsystem. It translated some calls into the NT kernel Native API, but for others, it translated them into Win32 System calls, leaving the POSIX subsytem dependent on the win32 susbsystem. I would find it hard to believe then that the programs could not directly call the Win32 API.

            Of course, I have the feeling that
            Interix (which is now the new windows NT Posix subsystem) has little or no real relation to

    • by oglueck ( 235089 )

      I totally agree. It's hard to believe that they even started without going cross-platform from the very beginning. Porting is so much harder! I haven't looked at the source but are they actually using at least something like a portable runtime? I know at least 2 to choose from: Apache (apr), Netscape (nspr). Did I mention Java? :-)

    • by itsdapead ( 734413 ) on Saturday September 13, 2008 @09:41AM (#24989885)

      So they want to develop a cross-platform browser.

      Not really - they want a Windows browser to deliver their apps on which, largely thanks to the Google name, might stand a chance of making some inroads against IE.

      Mac and Linux versions would be nice too - but those users already use either Firefox or Webkit/Safari which have a better reputation for standards compliance and aren't controlled by Microsoft. That last is particularly important if your name is Google and you produce webapps which compete with Microsofts office products.

      So why again is the Mac port "closer to start than finish"

      Because they obviously chose to develop for Windows and port later, rather than develop all 3 versions in parallel. So maybe they delayed the Mac and Linux versions at the expense of Windows, but the upshot is that they got the Windows beta out before IE8 launches. Kinda strategic.

      Chrome is based on Webkit

      So what if they don't have to write WebKit for Mac? They didn't have to write WebKit for Windows, either! What Google are spending their time on will be the not insubstantial bits that wrap around Webkit to make it Chrome.

      it's not like there aren't any cross-platform widget sets out there

      Looks to me like they're using their own Widget set. Plus (as both MS and Mozilla have found in the past) Mac users tend to come down hard on apps that don't look as if they were born and bred on a Mac.

    • Re: (Score:3, Insightful)

      by Jeff DeMaagd ( 2015 )

      I don't see how POSIX is even introduced as a reason it should work, at least for Windows. I've never heard of it being useful in Windows except for command line software, that it precluded even using a GUI. I recall it was put in to satisfy a checklist for government purchases, only rarely being useful for anything other than that.

    • by eggnet ( 75425 )

      If they waited any longer, ff 3.1's js engine would have been too fast.

    • Re: (Score:2, Interesting)

      Maybe their goal is more "not IE" than "only Chrome". IE dominates because of habit and mindset, not any inherent benefits. If a "big-gun" company puts out a big-buzz browser, that mindset is weakened. It's the idea that MS = computer that maintains the status quo. Get people interested in venturing outside the locked "suite", and anything could happen. Marketingwise, Chrome is Google's ploy for driving people to online apps and away from the MS ones on their desktop. So, much as I'd like it to be otherwis
  • by Anonymous Coward

    Chrome is a combination of numerous libraries and source code, from sources as diverse as Google, Microsoft, the KDE project and Apple. While this allowed them to initially put together the browser relatively rapidly, there is a lack of cohesion. This will surely lead to maintenance issues later on down the road, due to the hacks necessary to get everything to mesh.

    There are enough maintainability issues with, for example, the Mozilla codebase, where they wrote most of the code themselves. It'll be far wors

    • by skeeto ( 1138903 ) on Saturday September 13, 2008 @10:22AM (#24990175)

      And, yuck, they checked in a whole bunch of binaries. If you so a checkout of the Subversion repository (weighing in at 1.5G for the single revision checkout, 8G or so to build!) it is a huge mess. I don't think Chrome is going anywhere for a long time due to these maintainability problems you mentioned, and you won't find hackers poking around Chromium with the mess that the codebase is in. Plus, it's all tied very closely to Windows, and who wants to hack in the hacker-unfriendly Windows?

      Once I saw this, I sort-of forgot all about Chrome/Chromium. It's all hype for now.

      • Re: (Score:2, Interesting)

        by ypctx ( 1324269 )
        I'm wondering what sort of build process converts 8 GB of sources to 0.5 MB of installation exe. Must be some alien technology.
      • Re: (Score:3, Insightful)

        by kcbanner ( 929309 )
        I hate it when this happens. Its all shiny on the outside for the user but its a nightmare for the developer. SDKs and software distros don't need to be that big. Look at most open source projects. 50M is considered *huge* for a source tarball. I wish when companies released their big "open source for publicity" software they would do it right.
  • pffff (Score:2, Interesting)

    by zanfr ( 869393 )
    i knew it from running chrome in wine there are just too many issues already, too many pure-windows dependencies, the code seems very windows centric. Which is real pity for google, they might as well go to kiss and make up with Ballmer so they can throw chairs together at Steve Jobs and the linux community. Also a real pity, i wonder if the so called improved javascript VM will actually ever make it in the real world... cause we REALLY REALLY need optimized javascript; not to mention optimized Flash but th
  • by txoof ( 553270 ) on Saturday September 13, 2008 @08:26AM (#24989505) Homepage

    I suppose it's good business sense to write software for the most popular platform. With around 75% [w3schools.com] of the OS hits being from Windows, it would be prudent to sink resources into a windows browser, rather than Mac or Linux.

    On the other hand, Mac use is steadily climbing and climbing among young people. Young people are typically drawn to free and shiny (one might say, Chromed) things. They're also good at starting and perpetuating trends. In that light, it might make sense for Google to sink more resources into making an OS X version. It's important to not only have a good product, but to make it fashionable to use that product. Lord knows how many people are still using IE, not because they like it, but rather because they don't know there's anything faster or better out there out there.

    They might as well forget about Linux though. Everybody knows that Linux users are crotchety and only really want to use wget and for really special pages, lynx. I for one can't remember the last time I used a window manager and LIKED that new fangled environment. Too many colors and flashing lights, it's like those arcades that them darn kids like to visit.

    • Re: (Score:2, Informative)

      by Hal_Porter ( 817932 )

      I suppose it's good business sense to write software for the most popular platform. With around 75% [w3schools.com] of the OS hits being from Windows

      From your link
      http://www.w3schools.com/browsers/browsers_os.asp [w3schools.com]

      OS Platform Statistics

      Windows XP is the most popular operating system. The windows family counts for over 90%:

      2008.....WinXP...W2000...Win98...Vista...W2003...Linux..Mac
      August...73.9%...2.4%....0.2%....12.5%...1.9%....3.9%...4.9%

      Windows XP (73.9%) + Windows 2000 (2.4%) + Win98 (0.2%) + Windows 2003 (1.9%) + Vista (12.5%) = 90.9%

  • Sandbox (Score:3, Informative)

    by lseltzer ( 311306 ) on Saturday September 13, 2008 @08:40AM (#24989561)

    The implementation of the sandbox in Windows is based on Windows-specific features. I suspect when they finally get it running on other platforms it will behave differenty with different levels of protection.

    • Re: (Score:3, Informative)

      by lseltzer ( 311306 )

      Sorry I didn't put this into the parent.

      See this blog from Microsoft's Robert Hensing [technet.com] on how Chrome implements sandboxing on Windows and from whom at Microsoft they ripped off the idea.

      • Re: (Score:3, Interesting)

        That was a fun read.

        I mean FireFox 3.0 was touted for its "security"....In reality that browser offers even less protection / mitigation against web exploits than IE7 on Vista...

        and this

        I for one don't run FireFox 3.0 . . . I don't consider it even a worthy challenger (though it sure is fast) to IE7 let alone IE8 (due to lack of protection / mitigation technologies, the vuln counts etc.),

        Now, I'm no expert, I'm not saying he's wrong, but what I do know is that this goes against everything I've been hearing around here.

      • Re: (Score:3, Insightful)

        by the_B0fh ( 208483 )

        Dude, they freaking bought GreenBorder, one of the original companies that does sandboxing for normal Winblows executables.

        What makes you think they have to rip off anyone?

  • Not open source! (Score:5, Informative)

    by emiraga ( 1359297 ) on Saturday September 13, 2008 @08:44AM (#24989579)
    There are parts of Google Chrome that are shipped closed source. For starters: GoogleUpdate and RLZ.DLL.
    • by Anpheus ( 908711 )

      So download and install Chromium.

  • Tracemonkey vs. V8 (Score:5, Interesting)

    by Anik315 ( 585913 ) <anik@alphaco r . n et> on Saturday September 13, 2008 @09:00AM (#24989657)

    Chrome is currently faster than Firefox at most things even when Tracemonkey is enabled. I mostly work with browser based math/finance apps, and one of the most intensive things that can be done is a numerical integral. No other browser even comes close to Chrome in terms of speed. The only drawback is that it isn't cross platform yet. From what I hear, Tracemonkey is working really well on different processors so it will be an interesting match up. Try pasting this code into JavaScript Shell [squarefree.com] from Chrome and Firefox for a comparison.

    Math.precision=function (x, eps) { var dec = Math.pow(10, Math.floor(Math.log(1 / eps) * Math.LOG10E)); return Math.round(dec * x) / dec; };function asr(f, a, b, eps) { var c = (a + b) / 2; var h = (b - a) / 6; var fa = f(a); var fb = f(b); var fc = f(c); return Math.precision(recursive_asr(f, a, b, c, eps, h * (fa + fb + 4 * fc), fa, fb, fc), eps); };function recursive_asr(f, a, b, c, eps, sum, fa, fb, fc) { var cl = (a + c) / 2; var cr = (c + b) / 2; var h = (c - a) / 6; var fcr = f(cr); var fcl = f(cl); var left = (fa + 4 * fcl + fc) * h; var right = (fc + 4 * fcr + fb) * h; if (Math.abs(left + right - sum) <= 15 * eps) { return left + right + (left + right - sum) / 15; } return recursive_asr(f, a, c, cl, eps / 2, left, fa, fc, fcl) + recursive_asr(f, c, b, cr, eps / 2, right, fc, fb, fcr); };asr(Math.sin,0,100,1e-15);

    • by Anik315 ( 585913 )
      Mods on crack... this is not Flamebait... it's a fucking browser benchmark.
    • Interestingly, this is a recursive benchmark, a place where v8 is noted to perform well. If v8 generates floating point instructions, that might also explain some of the performance. While this benchmark is likely suitable for floating point, it's not clear to me that your apps use heavy recursion.

      Ideally we could just compare generated code and see which should be faster, but the speed of JIT is also a factor that must be accounted for.

    • Tried it: Chrome was way faster than I could measure. FF took several seconds. Not very useful info, but point is, Chrome's speed was astounding.

  • Travesty (Score:4, Insightful)

    by markdavis ( 642305 ) on Saturday September 13, 2008 @09:07AM (#24989693)

    Google had the chance to show openness, platform independence, support for Open Systems principles and designs, and true independence from Microsoft control with Chrome, but lost it. If ever there were an important time to make sure of a simultaneous, multiplatform release, this would have been it. Instead, we have a typical "release for the largest platform" with weak promises of eventual support for everyone else. That isn't a good message for 2008; it doesn't match the "visionary" of what they are trying to do with Chrome.

    Google irritated a large number of users that would have been most likely to try and promote Chrome and to give contributions to the code- those NOT using MS-Windows. I think it was a huge mistake they didn't hold the release until there was a reasonable set of code for all the three major platforms. Given Google's resources, I doubt it would have been all that difficult.

    I have talked to many Linux and MacOS users about Chrome- most are disappointed, some extremely disappointed, and many are quite bitter, too. You can't blame them for being unhappy... and this article indicates that seeing Chrome on Linux and MacOS is nowhere near "right around the corner".

    • But Chrome is still at a beta (?) stage isn't it... give it (well, the Windows version anyway) a chance!
      • by SmallFurryCreature ( 593017 ) on Saturday September 13, 2008 @09:53AM (#24989951) Journal

        When MS uses the word Beta, they really mean pre-alpha. Release is Beta. If you want a release quality MS product you need to look for the discontinued tag.

        Google is simpler, they got beta, beta and beta. One works, one doesn't, the other works for everyone except you and just when you became totally dependent on it, they kill the project.

        Linux has Beta and RC. RC is solid but out of date so nvidia doesn't have drivers for it anymore, beta is solid but nvidia doesn't have drivers for it yet.

        Solaris has only one version, more solid and sensible then a rock, it is labelled "Giving your accountant a heart attack".

    • "we're not fight to take away firefox's market share, we're fighting to take away IE's market share"

      Look at it in that light, and it makes sense not to make it for osx and linux.

      The decision to include ActiveX plugin was still *DAMN* *FUCKING* *STUPID*

  • the great irony (Score:3, Interesting)

    by Anonymous Coward on Saturday September 13, 2008 @09:19AM (#24989759)

    The great irony of all of this is that Chrome (also Safari) directly owe the KDE and Qt projectÅ credit for constructing the base on which this is built. And now they are primarily targeting windows. When discussing either Safari or Chrome, I never ever even see mention of the F/OSS projectÅ to which they owe their existence. More than a pity, itÅ a crying shame. Do no evil my ass.

  • by chrysalis ( 50680 ) on Saturday September 13, 2008 @09:22AM (#24989777) Homepage

    Worse : Chrome (especially V8) is only designed to work on ARM and i386 (32 bits) architectures. Yes, no AMD64 support, and don't even think of other architectures yet.

    However, there is a lot of manpower behind the project and the developpers are very skilled. So this is not hopeless.

    • by evilNomad ( 807119 ) on Saturday September 13, 2008 @09:55AM (#24989959)

      It isn't designed just to work on those, they just haven't done others yet. When building a VM it is bad to start out having to support 10 different architectures as it requires you to test them all for every little change you do. It also requires that all developers know these architectures very well if they are to do proper changes.

      Besides V8 is probably the most portable thing there is in Chrome, it already works on Linux, OS X and Windows, and they provided two different architectures, making it much easier to do a 3rd and a 4th for anyone who should wish to do so.

      How do i know this? Because Lars Bak who leads the V8 team happens to be teaching my VM course, and a guy asked that specific question.

  • Truly, wtf? (Score:5, Insightful)

    by fabs64 ( 657132 ) <beaufabry+slashdot,org&gmail,com> on Saturday September 13, 2008 @10:55AM (#24990441)
    What is it with google and their inability to write cross-platform GUI's? If nearly every OSS app can do it, why can't google?

    It's a really confusing situation that in my eyes loses them serious geek points. Hell, use .NET if you must, but this seemingly raw win32 nonsense is just silly.

    As for the old argument that nothing cross-platform can look good: eclipse.
    • Re: (Score:3, Insightful)

      by tiocsti ( 160794 )

      It's because google insists on writing cross platform apps that are actually native, and dont look like crap. These considerations don't apply to most open source cross platform apps, which take the lazy way out and use gtk, qt, or some other cross platform widget set, to the users' dismay.

    • Re: (Score:3, Insightful)

      by Sentry21 ( 8183 )

      What is it with google and their inability to write cross-platform GUI's? If nearly every OSS app can do it, why can't google?

      'Every OSS app' generally uses GTK+ or QT; GTK+ looks like ass on Windows, and doesn't look or feel the way it's supposed to. It also doesn't work at all on OS X (and if anyone mentions X11 I'll put a fork in your eye).

      QT works on Windows and Mac; it only kind-of 'fits in' on Windows because all Windows apps tend to look and behave differently anyway, and it kind-of works on Mac the same way GTK+ works on Windows - poor but functional.

      The only OSS apps I've ever seen that look and work well on the Mac are t

  • When I print something out, it has all that usual crap of the page number, page title and all of that junk. Which would be fine if I could turn that header and footer stuff off - but I can't, or at least not as easily as I can with Firefox, or even Explorer. I guess I could go into the source code and futz with it, but it is easier for me to just use Firefox when I'm doing work. It is not just an aesthetic thing for myself, I'm printing out things like shipping labels and business related letters that ca

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...