News for hackers. Stuff that matters.
Re:Ask YC: Why doesn't Google use better technology to buil... by presty on Sunday May 04, 2008 @06:12PM (#181014)
Why doesn't Google use better technology to build its services (e.g., Flash)?

What better technology? Guess who popularized AJAX?

Flash sucks. There's no real support for linux from adobe, it makes the browser heavier, it's a closed proprietary technology and it's awful for things that are not animation related.

Re:Ask YC: Why doesn't Google use better technology to buil... by jcbozonier on Sunday May 04, 2008 @09:09PM (#181096)
Actually Flash is open source now. You can even make your own player: http://www.adobe.com/openscreenproject/
Re:Ask YC: Why doesn't Google use better technology to buil... by wmf on Sunday May 04, 2008 @09:16PM (#181102)
But making your own player doesn't give you any say over the future of Flash, so if you do that you're getting on a treadmill controlled by Adobe.
Re:Ask YC: Why doesn't Google use better technology to buil... by humanlever on Sunday May 04, 2008 @05:59PM (#181004)
Google revolves around information accessibility, using Flash for anything besides the presentation of graphics is a big step back in that area.

Youtube may make good use of Flash, but even they limit it to areas of absolute necessity.

Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @06:01PM (#181006)
Why can't Flash be improved to make information accessible?
Re:Ask YC: Why doesn't Google use better technology to buil... by bootload on Sunday May 04, 2008 @08:08PM (#181064)
".... Why can't Flash be improved to make information accessible? ..."

Probably for the same reason the tech that google does use can. Openness.

Re:Ask YC: Why doesn't Google use better technology to buil... by technoguyrob on Sunday May 04, 2008 @06:05PM (#181009)
Ask Adobe?
Re:Ask YC: Why doesn't Google use better technology to buil... by kennyroo on Sunday May 04, 2008 @06:53PM (#181029)
For my own selfish reasons, I'm pleased that Google doesn't use Flash for applications. Using XHTML/CSS/JS/etc. is great because other developers can inspect it, understand it, and go from there.

For practical purposes, I suspect Flash may be a pain in the ass to use on their scale. Debug, version control, localization, analytics, and more probably wouldn't play well with the rest of their platform and processes.

Also, Flash isn't supported on many wireless devices including the high-profile iPhone.

Future releases of HTML and JavsScript will handle some of what Flash does today. Perhaps it's just not necessary.

Re:Ask YC: Why doesn't Google use better technology to buil... by ikerin on Monday May 05, 2008 @07:04AM (#181339)
Doesn't anyone remember, back in the day, when HTML was "just fine" and javascript was 'clunky', 'unusable', and had a multitude of accessability issues. Cross-browser javascript problems, anyone? Now, of course flash also has its issues, but believe it or not, they are, much, much fewer and smaller than javascript/ajax had when it first started out, and even, dare i say, now.

The accessability issues, associated with flash are usually (as always) because the developer didn't know how to fix them, or didn't care to. There simply hasn't been a "killer app" like gmail, to show all the world that it could do thing much better than is generally asumed.

For example did you know that you can make a flash site change it's url as you navigate through it, enabling you to link/bookmark a specific section or a page of it (also allowing you yo use back/forward buttons)? The accessability issues have also long been solved, giving 'no-flash' users a striped down, yet fully functional/accesible site (as is the idea of javascript behaviours, if I recall correctly). (Take a look at this site http://www.rizn.bg for example of the two above - I know it's not english but the important thing is the concept)

And flash in itself has much more potential than javascript/ajax. 3D animations, build-in optimised compression algorithms, easier server integration, video/audio streaming, webcamera support, better file upload, etc, and it's all build in, on a single platform, with a quite nice and consistent api on top of it. Actionscript (the flash language) is a quite nice blend of java and javascript, minus the java bloat, complete with classes, inheritence, true C-like data types (insane performance), clusures. And it's all a lot more cross-browser friendly, than any other competing tehnology.

Now, i'm not suggesting we all jump in, because it does have issues still (font rendering, os integration and of caurse performance, to name a few) but there are quite a few places where it is a very good alternative. Just because most of the flash we come in contact with are useless splash screens and tacky animations, it doesn't mean that it can't do better. It's a hugely undervalued platform in my opinion, and we kinda have to 'wake up' and talk about its benefits instead of "it'll never work, its better to stick to what you know".

As for the original question - maybe because when it started out, flalsh was not good enough (pre flash 9 time), and by now they already have an infrastructure in place. Maybe if they create something radically new, they'll try to adopt flash, otherwise they'll stick with what works for them now.

Re:Ask YC: Why doesn't Google use better technology to buil... by idea on Sunday May 04, 2008 @06:12PM (#181013)
> I wouldn't be surprised if Google is working on its own competitor to Flash/Silverlight.

Microsoft has big problems getting Silverlight off the ground, although it is imo technically superior to Flash. I don't think it would be easier for Google to launch a competing platform. I personally think that they will bet on HTML5 through their partnership with Mozilla.

Re:Ask YC: Why doesn't Google use better technology to buil... by bartman on Sunday May 04, 2008 @05:58PM (#181002)
Google uses Flash for their charts in analytics and finance.
Re:Ask YC: Why doesn't Google use better technology to buil... by globalrev on Sunday May 04, 2008 @05:08PM (#180975)
because flash sucks?
Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @05:11PM (#180976)
Could you elaborate?

Maybe it's not convenient for developers, but the result is better for users than an ad hoc mix of old web technologies that is seriously lacking in features and plagued with compatibility problems.

Re:Ask YC: Why doesn't Google use better technology to buil... by baha_man on Sunday May 04, 2008 @05:30PM (#180982)
From the Google Webmaster Central Blog: "Try to use Flash only where it is needed... this makes you[r] site accessible to a larger audience, including, for example, blind people using screen readers, users of old or non-standard browsers, and those on limited low-bandwidth connections such as on a cell phone or PDA."

http://googlewebmastercentral.blogspot.com/2007/07/best-uses...

I can think of a few good examples of web sites which use Flash effectively, e.g. the BBC 'Get Cooking' site:

http://www.bbc.co.uk/food/get_cooking/

However, Flash normally seems to be used for displaying pointless, obnoxious splash screens which add no value for the user.

Re:Ask YC: Why doesn't Google use better technology to buil... by aneesh on Sunday May 04, 2008 @05:38PM (#180987)
> I can think of a few good examples of web sites which use Flash effectively

Youtube!

Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @05:39PM (#180989)
But why not use Flash for the entire site rather than just the video player?
Re:Ask YC: Why doesn't Google use better technology to buil... by Goladus on Sunday May 04, 2008 @07:44PM (#181058)
Because when you display all that extra site stuff with flash you take away tons of simple but important functionality.

     copy/paste

     save as...

     view image

     copy image location

     Bookmark this

     Open in new tab
etc. you get the idea.
Re:Ask YC: Why doesn't Google use better technology to buil... by marketer on Sunday May 04, 2008 @10:13PM (#181135)
1) Copy-past works just fine, at least with flex 3 text or textarea controls 2) Saving the swf is easy, and you can view it any time 3) Images are usually embedded, and you can get them with a resource viewer 4) Copy image location - this is not necessary, as images are usually embedded 5) flash supports url fragments for navigate (path after #), so as long as the flash site uses fragments, it is bookmarkable 6) open in new tab works

I'm curious where you got this misinformation, anyway.

Re:Ask YC: Why doesn't Google use better technology to buil... by apu on Monday May 05, 2008 @12:50AM (#181220)
The difference is that for flash websites, the developer has to actively be 'nice' to allow these things (default=not accessible), whereas with html+css+javascript, the developer has to actively be obnoxious to NOT allow these things (default=accessible).
Re:Ask YC: Why doesn't Google use better technology to buil... by Goladus on Monday May 05, 2008 @10:39PM (#182100)
A basic understanding of flash, computers, combined with browsing the web and making observations and deductions.

    1) With HTML you don't have to use textarea controls.

    2) Saving an SWF is not trivial.

    3) How much of your target audience really bothers to find a resource viewer?

    4) It's necessary because your users don't have a resource viewer.

    5) So the flash developer has to know what 'url fragments' are in order to make portions of the app bookmarkable.

    6) I can't think of a flash app where open in new tab works.  Obviously it is not trivial to implement
Re:Ask YC: Why doesn't Google use better technology to buil... by 0x44 on Monday May 05, 2008 @12:06AM (#181202)
Open in new tab only works to open the flash page in a new tab, subsequent browsing within the flash page does not allow one to open in a new tab.
Re:Ask YC: Why doesn't Google use better technology to buil... by xenoterracide on Sunday May 04, 2008 @05:57PM (#181001)
because flash isn't always cross platform. those of us on linux had to wait 2 or more years (I really don't recall) for adobe to roll out a flash 9 from flash 7 for linux. It took another year after that to get it stable.

Also if you are blind how do you view flash websites? it has serious problems with usability for those who are disabled.

it also has usability problems for those who aren't disabled. I don't like flash websites because I can never find my way around. I can't run them through translator's either (an artist I like, who's native language is spanish, website is in flash, I can't read or translate the spanish because of that, and the english version has been coming soon for 2 or more years).

Re:Ask YC: Why doesn't Google use better technology to buil... by sunkencity on Sunday May 04, 2008 @05:43PM (#180994)
you gotta be trolling...
Re:Ask YC: Why doesn't Google use better technology to buil... by technoguyrob on Sunday May 04, 2008 @05:43PM (#180993)
Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @05:56PM (#181000)
> However, Flash normally seems to be used for displaying pointless, obnoxious splash screens which add no value for the user.

How is that relevant to this discussion?

Re:Ask YC: Why doesn't Google use better technology to buil... by baha_man on Sunday May 04, 2008 @06:24PM (#181019)
It's a verbose way of saying 'Flash sucks'.
Re:Ask YC: Why doesn't Google use better technology to buil... by Goladus on Sunday May 04, 2008 @07:40PM (#181054)
Actually it's not always better for users. There are usually tradeoffs when choosing technologies and this is no exception. There are two (maybe three) fundamental issues with Flash.

The vast majority of internet content is conveyed with text, links, and images. Even a with a site like YouTube, there's a host of information related to each video that is best conveyed using text, links, and images. And apart from the rendering part images are essentially just links. Flash has a whole lot of overhead and does not perform basic text and linking tasks very well.

The second is that it has limited access to the underlying operating system.

The third is that it's a proprietary environment controlled by Adobe.

Re:Ask YC: Why doesn't Google use better technology to buil... by wmf on Sunday May 04, 2008 @05:28PM (#180981)
It appears that AJAX cross-browser compatibility problems can be solved using infinite money.

Besides video, what compelling Flash features aren't available in JS+HTML?

Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @05:32PM (#180983)
Which would be better for building a word processor or illustrator service?

And even if it is not necessary (e.g., for an email service), users still like to use a more professional looking site.

Re:Ask YC: Why doesn't Google use better technology to buil... by DougBTX on Sunday May 04, 2008 @07:17PM (#181041)
Even if we take your first question as true (and that is highly doubtful) it is far from clear that users prefer sites which "look more professional", cf: plentyoffish.com

It's also far from obvious that an all-flash site looks more professional than a flash-free one: if you want to make a site look tacky, just throw in some gratuitous flash or animated gifs and you're away.

Re:Ask YC: Why doesn't Google use better technology to buil... by gus_massa on Sunday May 04, 2008 @05:52PM (#180997)
Flash is useful for single player, little games, that you can play in the browser without installation.
Re:Ask YC: Why doesn't Google use better technology to buil... by Hexstream on Sunday May 04, 2008 @07:10PM (#181036)
In other words, flash is an awkward adaptor (plugin) to support a form of media (fully interactive games) on a platform (web browser) that was never really intended to support it.
Re:Ask YC: Why doesn't Google use better technology to buil... by nostrademons on Sunday May 04, 2008 @09:40PM (#181114)
Like Tetris?

http://halogen.note.amherst.edu/~jdtang/tetris/

FWIW, I'm using mixed Flash & JavaScript for my startup (Flash for embedding, JavaScript for the site itself). I've got Asteroids, Pong, and Brickbats all working in pure JavaScript. And I'm just hooking up code right now that lets you edit the games in real-time, no need to reload anything. That ranges from very-difficult to impossible with Flash.

Re:Ask YC: Why doesn't Google use better technology to buil... by CPops on Sunday May 04, 2008 @07:25PM (#181047)
To some extent, you can ameliorate these concerns, but using Flash for a website generally leads to usability issues.

Here's an article from me explaining why, if you're interested.

http://informationrain.com/2007/07/25/why-i-dont-make-flash-...

In my opinion, flash should mainly be used for what it's great at....making games, some types of interactive tools, and a decent quality cross-platform video solution.

Re:Ask YC: Why doesn't Google use better technology to buil... by flashgordon on Sunday May 04, 2008 @08:36PM (#181081)
actually flash may "suck", but the flex (and air) sdk is not half bad... even I could learn it in about half a day and managed to put together some pretty sophisticated tools at work (game development stuff)..

the real reason i would say google would not want to use flash is due to its not-so-openness and thereby prepping itself for more uncertainity in the future.

Re:Ask YC: Why doesn't Google use better technology to buil... by axod on Sunday May 04, 2008 @07:19PM (#181044)
* It's slow * It's proprietory * It's not supported on several platforms (iPhone, wii, etc etc)

Javascript works just fine thanks. With HTML5 and the video capabilities flash/silverlight will become even less relevant IMHO

Re:Ask YC: Why doesn't Google use better technology to buil... by icey on Sunday May 04, 2008 @09:41PM (#181115)
Why would an indexing company promote non indexable content?
Re:Ask YC: Why doesn't Google use better technology to buil... by bbgm on Sunday May 04, 2008 @10:59PM (#181161)
That's a big part of the answer. Flash is not indexable, and is one of the biggest problems that Flash has.

Flash has its uses, and Google does use Flash where it makes sense, e.g. the charts on Google Analytics.

Re:Ask YC: Why doesn't Google use better technology to buil... by thaumaturgy on Sunday May 04, 2008 @06:55PM (#181030)
I'm surprised nobody here has mentioned what I would expect would be one of the biggest reasons: bandwidth. Considering the number of people hitting the various Google services at any given moment, adding Flash, and/or pretty images or extra CSS or fancy-pants JavaScript could induce a pretty big additional cost, and for no justifiable reason.
Re:Ask YC: Why doesn't Google use better technology to buil... by wmf on Sunday May 04, 2008 @07:31PM (#181050)
Why would compressed bytecode (Flash) be larger than source code (JavaScript)? AMF is also generally smaller than JSON or XML.
Re:Ask YC: Why doesn't Google use better technology to buil... by thaumaturgy on Sunday May 04, 2008 @09:52PM (#181123)
| Why would compressed bytecode (Flash) be larger than source code (JavaScript)?

I read the original question as asking why Google didn't add Flash onto its interface. I suppose it might be possible to replace their current JavaScript functions with Flash bytecode, but given the lengths they go to already to compress their JavaScript, I'd be surprised if the benefits there would be worth the trouble, not to mention any possible costs they might end up with due to migrating to Flash. (Browser support, version changes...?)

| AMF is also generally smaller than JSON or XML.

I kinda recalled Gmail (for instance) not using XML, but I dumped a session through Firebug to make sure. They're using their own (very simple) data format, and I doubt that AMF, or SOAP, or anything else could beat it, short of using actual data compression on both server and client side (and, again, probably not worth it).

Crawling through the Gmail code and data only reinforces my guess that their services are designed with low bandwidth usage among their top priorities.

Re:Ask YC: Why doesn't Google use better technology to buil... by nostrademons on Sunday May 04, 2008 @10:04PM (#181130)
Class libraries. Usually, to do anything impressive with Flash either requires lots of multimedia assets or lots of class libraries. JavaScript has the ability to piggyback off the browser's HTML/CSS rendering engines.

A lot also has to do with their respective cultures - as a JavaScript dev, you learn to do more with less because doing more with more is so exquisitely painful. That's why Flash UIs are often visually more attractive - it's easier for them to be visually attractive.

And JavaScript compresses really well - it's not unusual for GZipped + minified JavaScript to be less than 20% the size of the uncompressed source code.

Re:Ask YC: Why doesn't Google use better technology to buil... by rms on Sunday May 04, 2008 @05:49PM (#180995)
>I wouldn't be surprised if Google is working on its own competitor to Flash/Silverlight.

http://gears.google.com/

Re:Ask YC: Why doesn't Google use better technology to buil... by amichail on Sunday May 04, 2008 @05:54PM (#180998)
That's not a competitor to Flash/Silverlight.
Re:Ask YC: Why doesn't Google use better technology to buil... by rms on Monday May 05, 2008 @06:04AM (#181320)
It's the only thing they have in the online/offline integration space. If not a direct competitor, it still has relevance. Google doesn't use Flex or Silverlight because they can reproduce complex interfaces in just javascript and it's usable offline with Google Gears.

If Google wanted to compete with Flex/Silverlight, they could release a GUI widget toolkit for javascript and combined with Google Gears they would have a contender.

Re:Ask YC: Why doesn't Google use better technology to buil... by aswanson on Sunday May 04, 2008 @09:01PM (#181092)
To what end?
Re:Ask YC: Why doesn't Google use better technology to buil... by xtat on Sunday May 04, 2008 @07:07PM (#181034)
flash is shit. next?
Re:Ask YC: Why doesn't Google use better technology to buil... by omfut on Sunday May 04, 2008 @11:28PM (#181182)
Iam not a flash fan. But off late it has amazed me with the functionality and features that can built so fast. If u have flash IDE, man building web sites are lot faster and easier. Iam sure it has is own drawbacks. I don’t agree with folks that say flash is not available in all browsers. Flash penetration is around 80-90 % of global market. Wake up guys.

Cheers, omfut

Re:Ask YC: Why doesn't Google use better technology to buil... by xenoterracide on Monday May 05, 2008 @02:47AM (#181263)
links, screen readers, mobile, and sometimes see gap between flash 7 and 9 on linux not the current version.