SPDY, Dart and now this.
SPDY, Dart and now this.
I'd go so far as to say that in these areas Google is serving as a model corporate citizen, and I wish others would imitate them.
If you're the only big player, that your stuff is open just means others can also implement your protocol. But since you're the only big player, they can't have their protocol.
So you can make your protocol work for you, do things that will bring you more money, and have it open-source, AND force it upon others.
Forking it doesn't mean shit if you're forced to use it to access _ANYTHING_ anyways.
>I'd go so far as to say that in these areas Google is serving as a model corporate citizen.
Well that is a curious way to look at it.Instead of working with other companies to define a common standard they force it through attrition. That's the exact opposite of how this sort of thing should work.
And given Google's disgraceful behaviour in abusing the FRAND process they are hardly a model citizen by any measure.
This is why folks like IETF rely on "rough consensus and running code" when standardizing.
I always see this idea that companies should get together in a room and define protocols, and having seen standards orgs that do this, it scares the hell out of me.
Or see the HTML standardization process. Or a hundred other examples.
Standardization almost always follows implementation, not the other way around.
1. http://en.wikipedia.org/wiki/OSI_reference_model#Examples (see the "OSI protocols" column and compare to "TCP/IP protocols")
H.264 and WiFi standards are recent examples of a lot of companies working together.
It's the hangover from those standards that leaves kids today thinking that Python or Ruby are simpler than Java.
Eventually the JCP turned into "take popular open source ideas like hibernate and spring, and bless them with a JCP number". Which worked a lot better, and each of those individual projects was usually launched by an individual or small group initially.
I would really love to hear how you could possibly believe otherwise.
Ruby and Python seem simpler for most web work due to better frameworks and dynamic typing, which is less simple than static typing, but is easier to work with in most web situations.
I guess I'm drawing a distinction between 'simple' and 'convenient'. Monkey patching in Ruby is not simple, but can be convenient and make rails possible.
http://en.wikipedia.org/wiki/List_of_Java_keywords http://docs.python.org/3/reference/lexical_analysis.html#ide... https://github.com/ruby/ruby/blob/trunk/parse.y (grep for reswords)
I'm undecided whether Python/Ruby or Java are simpler.
At least to me dynamic typing seems much simpler than static typing: from a very very pragmatic view that just means no compile-time checks (?), and I'm not that good with Ruby, but I'd consider Pythons type system much simpler than Javas (Python has none of: primitive types, null, arrays, interfaces, visibility (well, there is name mangling for __...), enums, final/abstract, the checked/unchecked mess (look up what the correct way to catch exactly: all checked exceptions is!), casting, generics and everything that comes with it: have a look at the index at the left side of http://docs.oracle.com/javase/tutorial/java/generics/index.h... -- but to be fair Pythons type system has a couple of nontrivial features (metaclasses, multiple inheritance, ...) too)
Python/Ruby have a lot of very useful language features which make the languages much less of a pain to use than Java (the language), but for any meaningful comparison of language complexity you'd surely also have to consider the intricacies of the underlying VMs. The Java VM is quite complex and also quite powerful. For simple programs that don't require high performance or efficient memory management or whatnot that might not matter much though.
[Now, after having written this, I don't think its possible that any of the three languages is strictly simpler than any of the other ones.]
Me too, great comment, thanks.
I understand your point. Ruby and Python both have dynamic behaviour which makes it difficult to predict ahead of time what will happen when a program is run. In practice, however, the full range of possibilities is never exercised. It's not enough to look only at the language specification when you make these generalizations.
EDIT: TL;DR, essentially what matters is not the complexity of the language, but the complexity of programs written in the language.
The standards weren't terrible it was the entire concepts themselves and reflective of that era of computing. Most people thought XML was the future of the world and component architectures would be how all business software would be written. Little did we know.
But I still use SOAP everyday with Java, .Net, iOS and JS clients. So the benefits of companies working on commons standards is still pretty clear.
The systemic problem, which isn't just hindsight, is that you had 6 corporate vendors, each with their own internal politics, in a room with cross-corporate politics, creating a standard. Of course it will be a bloated monstrosity. It's not just hindsight to say that, that arrangement could turn all kinds of great ideas into disasters.
I thought the obvious answer was always tooling. Point Visual Studio at WSDL, and immediately get IntelliSense and go to town. Take your easy "object oriented" designs, and pop them on the web, with less of the trouble of DCOM or CORBA, and more security. But of course it only works if the tooling is in place, and there was probably only a couple of interoperable stacks.
But at least there was a real reason, and serious value for a lot of developers. To compare, JSON doesn't even have a standard date format defined.
Imagine doing SOAP entirely by hand, with a semi-complicated WSDL. It's a nightmare. Doing a RESTful service based on JSON data is not just not a nightmare, it's a breeze, with no need for any of the tooling you describe and with, in my opinion, absolutely no difference in API richness, interoperability, security, quality etc.
AFTER EDIT:
Why the downvote?
Ok, maybe I shouldn't have singled out Microsoft, but I think their past behaviour explains a lot the way Google are behaving now. I'm thinking in particular of what happened with XForms and WebGL.
But that being said, I was a full-time dev there for 5 years, and I can say with a (however misguided) degree of certainty: all of those projects have one goal in mind - to make the experience of using the web better. Whatever else is true about the dangers of monoculture, Google's intentions are benign.
Each individual component is a sensible step forwards, but there's no doubt that Google could choose to do some pretty anti-competitive things if they wanted, and in the future there will always be different, more short-term, management in charge
The point is that Google are in, not just a position of influence, but a position of control. Google don't need to seek the acceptance of the community at large for SPDY to be useful to them. This is a very different standpoint from, say, Mozilla.
I am wary too.... but I don't see anything obviously wrong.
Later on if/when their protocols are finalised and released, I'm sure one standards body or another will work to integrate them.