The Future of Google Chrome 294
TRNick writes "Lars Bak, who heads up development of Google Chrome's cornerstone javascript engine, talks about why Google is so focused on in-browser javascript performance, the role Chrome has played in driving up javascript performance in other browsers, and why it's taking so long to introduce support for third-party extensions. 'The web is becoming an integral part of the computer and the basic distinction between the OS and the browser doesn't matter very much any more,' he says."
As we've seen. (Score:4, Insightful)
As we've seen with Windows and IE.... the distinction between browser and and OS matters quite a bit. That is if you don't want to get accused of being and evil monopoly.
The whole point of Chrome (Score:5, Insightful)
is that its future per se doesn't matter.
What Google cares about is that there is a least one standards-compliant browser out there with fast javascript. Sure Google might have a slight preference for people using Chrome over another browser with fast javascript (like, say, Safari), but what really matters to them is that they are able to deliver web apps that are fast enough to be reasonable competitors to traditional desktop apps.
Chrome is a combination insurance policy/open-source soapbox whose purpose is to make sure that Google apps (and other web apps) will always have a browser to run on.
Re:annoyed (Score:2, Insightful)
Re:annoyed (Score:5, Insightful)
That is UK-English, it seems TechRadar is a British site. I agree, it sounds really strange and illogical if you are used to US-English.
If the browser is the OS... (Score:4, Insightful)
Re: (Score:2, Insightful)
The problem with javascript is still browser incompabilities, and that would not lessen with other scriping languages.
Re:annoyed (Score:0, Insightful)
Re:As we've seen. (Score:5, Insightful)
The lawsuit concerns the question of whether or not a web browser is structurally distinct from the OS or not: is it an integral component, or an instance of bundling of two essentially unrelated things.
This interview concerns the developer's observation that people's use of the browser doesn't draw much of a distinction between the browser and the OS(in that they consider the computer broken if web access isn't working, and in that they consider webapps to be on par with native apps).
It is also quite possible that, shockingly, an individual developer, speaking semiformally about his project, has a slightly different view than does Google's legal department, speaking on behalf of Google's official position.
I do (Score:3, Insightful)
I use it as my main browser. I've got a portable Firefox and (of course) IE, but I only fire them up when something isn't working right in Chrome. This is happening less and less.
Re:I know the future... (Score:5, Insightful)
Being uninstalled?
Until they get support for Firefox addons or get a base of addons equal to Firefox's, it won't be going on my computer anymore. ;*( I used it for about two weeks after its release, and then switched back to Firefox and never looked back.
Re:annoyed (Score:3, Insightful)
YES!
YYYY/MM/DD makes so much more sense, as it means that you get sane sorting when ordering using a computer.
DD/MM/YYYY results in a mess of dates, whereas YYYY/MM/DD always orders dates in chronological order.
Comment removed (Score:4, Insightful)
Re:As we've seen. (Score:1, Insightful)
It is just a matter of time.
Granted, a very long time - you might be able to get away with in around five years or so, assuming you don't care about IE (which might have just caught up with where every other browser is right now). JavaScript runtimes are getting faster, as are CPUs, and browsers are becoming more and more capable.
Word hasn't substantially changed since Word 97, which was 12 years ago now. It's not like the word processors of 10 years from now will have some amazing new feature that won't be possible to replicate in a web browser 10 years from now.
Whether you'd actually want to do this or not is another matter entirely.
Re:The whole point of Chrome (Score:4, Insightful)
Maybe 1) re-writing the firefox JS engine is too much work or 2) would be too disruptive to a well-established open-source project, or 3) wouldn't be as supa-cool awesome as starting from scratch (I'm assuming that Chrome began as a %20 time project), or 4) they felt the Firefox dev team would have simply ignored the work done by the Chrome people, or 5) they would have to've reworked the whole browser, and not just the JS engine.
I'm sure I could think of more reasons why the Chrome developers would want to do their own thing rather than submit changes to the Firefox engine, but I hope you get the point. Nothing about the bazaar forces you to join a current project and push updates, or even makes that practise logically necessary. Sometimes it's a good idea, sometimes not.
Re:I know the future... (Score:4, Insightful)
Re:I know the future... (Score:1, Insightful)
Now everyone stop complaining about Chrome having no extension! If Chrome is really that good for everything else except has no add-ons, and if you really so sick of getting that noscript/adblock add-on, why not develop one yourself and contribute back to the project?
Am I missing something? The source code of Chromium is available freely under BSD right? I thought open source is all about the freedom to take any source code and modify until it suites you?
Re:As we've seen. (Score:5, Insightful)
in that they consider the computer broken if web access isn't working
I suspect that will be MS's essential defense of bundling a default brower (IE) with Windows. People EXPECT any modern OS to come with a default browser. Most of them don't even realize the browser is a distinct program from the OS itself. The argument against MS not bundling a browser with their OS is a relic from the 90's. These days it would be suicide for anyone to release an OS without built-in web capability right out of the box.
Re:If the browser is the OS... (Score:2, Insightful)
the internet flourished during the dark age of browsers and we've gone another half decade since then. what's another year between friends? at least we have a promise that it's on its way soon.
besides, with safari, firefox and opera (and even ie??? [ducks]) getting more and more standards compliant and faster JS with each iteration, Google doesn't need to rush. that's the beauty of standards compliance, it turns the browser in to a generic piece of software that is easily interchangeable. That's the future Google are chasing, and it's interesting that Chrome has gone a long way to push that agenda without even releasing a non-Windows version.
paraphrasing mr. bak: (Score:2, Insightful)
"resistance is futile, you will be assimilated"
i think slashdot needs to update its icons
the borg bill gates icon is threatening only circa 1996. microsoft of 2009 is on a real decline
meanwhile, the company of all-domination in 2009 is obviously google. we need a remake of the google icon for slashdot to include the borg cube
and the microsoft icon should be remade with just a non-borg bill gates holding a jar of mosquitoes [msn.com]
Re:annoyed (Score:3, Insightful)
Well, mystery solved! I love it when it is that easy :) I guess the American way is slightly lazier... "February second, two-thousand and nine" is 2 fewer words. Is that lazier or more optimized?
Re:annoyed (Score:3, Insightful)
ISO standard is YYYY-MM-DD which I use for documents when I need it. Good for sorting.
Re:JavaScript assembly language (Score:3, Insightful)
You're missing the point.
Lua isn't built into the browser of almost every computer on the planet.
Re:As we've seen. (Score:5, Insightful)
Buzzwords like "cloud computing" and "online OS" don't change the fact that this is not a paradigm shift
And "netbook."
Thank you for writing this post, it really nails my opinion of the matter on the head as well. This whole new webapp craze has created such a stink in the IT world because so many people assume that it's going to phase out good-old-fashioned binaries. This is simply not the case. Like any tool, webapps are extremely useful for the right job. Regular binary programs are extremely useful for the right job. Writing a document with a webapp that is OS-independent and stored remotely is a nifty idea (especially if your laptop dies or is stolen, your data is safe), but the thought of something like MatLab, number-crunching or large spreadsheets using Javascript makes me cringe. Of course, people out there are still going to try doing this, and that's the crappy part about webapp popularity.
The two approaches just need to find a balance and coexist. There will continue to be a distinction between webapps and the local OS because there will continue to be different people who have different uses for their computers. Average Joe will not know or care what OS is on his Eee as long as he can use his Google Mail and Google Calendar and Google Documents... and as long he knows that when the Eee is pickpocketed or dropped and broken, he can still get his data back from Google using another computer. IT Dude Tarlus (me) will continue to be anal-retentive about my OS, my software and the more advanced applications I have for them. I admit that I have written and use webapps, but only because they're the best tool for the job at hand. But I'll stick with a native word processor. (And no vasectomy, please.) =)
Re:I know the future... (Score:5, Insightful)
Re:Muddy-soft waters... (Score:3, Insightful)
can't we have some type of integration once in a while?
Re:I know the future... (Score:4, Insightful)
Now everyone stop complaining about Chrome having no extension! If Chrome is really that good for everything else except has no add-ons, and if you really so sick of getting that noscript/adblock add-on, why not develop one yourself and contribute back to the project?
Am I missing something?
Yes. Not all potential users are developers. In fact, I suggest that the majority of potential users are not developers. Telling a random user of web browsers that they need to learn to program to make it do what other free browsers already do is unlikely to convert them. And of those of us who are developers? Well, lets see: shall I spend my free time developing tools for Chrome that are already working perfectly satisfactorily for me in Firefox, or shall I spend my free time doing someting that I think actually needs doing?
Re:JavaScript assembly language (Score:3, Insightful)
With compilers like GWT [google.com], Pyjamas [pyjs.org], and HotRuby [accelart.jp], I sometimes wonder if JavaScript is starting to emerge as a "portable assembly language" for dynamic languages, the way C is often used by higher-level language compilers. I mean, when it comes down to it JS is basically just hash tables and closures, some of the basic elements required for dynamic language execution.
However, a language is more than hash tables and closures, and even the great similarity between most dynamic languages isn't enough.
For example, in JavaScript all you have are doubles - no integers. That means that if you are using Pyjamas, and you write some math stuff in what appears to be Python, it won't behave like Python. Because of a lot of stuff like this, a straightforward translation of syntax-to-syntax will never work.
Instead, you can do more complicated stuff - like compile code using integers into code that converts back to integers in JavaScript (via rounding, etc.) - but that's not trivial, you'll need to do some of that compiling at runtime, since by looking at the source you don't know what is an integer value and what isn't!
If you want true compatibility with Python, the only solution is really to run a virtual machine for it. You can write such a thing in JavaScript - PyPy have. It's a cool idea, but with obvious drawbacks.
Or, you can do what the Pyjamas etc. people do - be ok with writing the syntax of Python but having the semantics of JavaScript. It's a hybrid language, and you'll always run into corners and bugs that are hard to figure out if you do anything interesting, but stick to conventional code and you might do ok.
Re:I know the future... (Score:5, Insightful)
if you really so sick of getting that noscript/adblock add-on, why not develop one yourself and contribute back to the project?
Time to develop extensions support and equivalent noscript add-on: six months, full time
Time to complain about lack of extensions in Google Chrome: <10 seconds
Your question is why people don't give up 6 months of their time instead of complaining why Google released a browser without modern features? That's madness. Developers work on open source for free when they feel like it, so unless some developer is really excited about reinventing NoScript they are going to complain instead.
And I'll go even further and turn the tables on you. If you are so sick of people complaining about lack of extensions why haven't you fixed it yet? And even if you are contributing to the project, why are you taking your free time to complain about everybody else instead of working on plugins? The chromium code is right there, so get back to work.
Re:I know the future... (Score:5, Insightful)
I'm a programmer. But that doesn't mean I don't have better things to do than play with web browsers.
If I wanted to work on yet another solution to an already solved problem, I would write accounting software for fun.
Re:I know the future... (Score:4, Insightful)
why not develop one yourself and contribute back to the project?
Because we already have it with firefox.
Re:JavaScript assembly language (Score:3, Insightful)
Lua isn't built into the browser of almost every computer on the planet.
neither is Flash... but it's everywhere.
all we need is NativeClient to suceed just as widely
Re:Either I don't get it, or they don;t get it (Score:4, Insightful)
The combination of your statement and your sig makes it clear that you are one of those people who has to be dragged kicking and screaming into the future. You weren't like that when you were young, were you?
I think it's pretty clear when he means: the OS is becoming little more than the driver for the dumb-terminal you use to access your web-based applications. Stuff like file system management is pointless if all your data lives server-side in web apps.
You can go after his terminology in a display of petty pedantry, but it doesn't change the fact that what he is saying is becoming increasingly the way things are. We may not be there yet. We may not ever get there. But that is certainly where the momentum is.
security, anyone? (Score:3, Insightful)
'The web is becoming an integral part of the computer and the basic distinction between the OS and the browser doesn't matter very much any more', he says."
Outch. After this quote, I know I'm never going to test Chrome.
There is an absolutely vital distinction. The damn browser will happily run any code embedded in any website I visit. My OS (don't know about yours, but mine) only runs stuff that I explicitly tell it to, usually after explicitly installing it. In fact, I'd prefer even tighter limits on that.
If you don't get that distinction, your security mindset is fucked up.
Re: (Score:4, Insightful)
I strongly disagree. JavaScript is a great language - in fact I think it is one of the best dynamic languages out there. The biggest problem is that 95% of the people who program JavaScript never bother to figure out the right way to use the language. I have heard people who had worked for years programming in JavaScript (actually JScript) claim that the language does not support inheritance, which could not be more untrue. As Douglas Crockford stated in a talk titled "JavaScript: The Good Parts [yahoo.com]":
If people would actually bother to learn the language (and could be convinced to give up the notion that you can't do OO properly without classes) you'd probably hear a lot less hatred for it.
Also, adding other support for other languages wouldn't do anything to address the biggest difficulty in writing code that runs in a browser, which is the incompatibilities between the different browsers' DOM and CSS implementations.