3 ms·
The key take away from this: "Part of the problem, he says, is that language designers don’t always have practical objectives. “There’s a tendency in academics
by ChuckMcM 14y ago
The key take away from this:
"Part of the problem, he says, is that language designers don’t always have practical objectives. “There’s a tendency in academics of trying to solve a problem when no one actually ever had that problem,” said Rabkin, who recently received his computer science PhD at Berkeley and is now at Princeton working on a post-doc. "
I was at Google when Go was birthing (not part of the project or team, just co-employed :-)) and asked the team "What problem does this solve?" I asked because I had been part of the original Java team at Sun. One of the things I had learned at Sun from James Gosling, who had previously done a language for window systems, NeWS, was that the only reason to have a new language is that it solved a problem you could not easily solve with the existing languages.
If you look at all of the durable languages, they share this heritage. BASIC solved the problem of what you had to learn before you could actually program problem. FORTRAN, solved the problem of converting Formulae into computation, which was later made into high art in Mathematica. COBOL which could express business process in code, and of course C which was a logical follow on to BLIS which was the minimal wrapping over assembly language so you could implement large systems and still read the code later and know what they were doing.
I didn't get any sort of coherent answer from the Go team at the time. Which for me was an indication they were a solution in search of a problem, and thus not likely to be much more than a niche language. But to be completely fair I've seen good languages like Rexx go nowhere even though they solved a huge problem (automating the integration of different programs).
A co-worker at Google suggested that we should start holding meetings in High Elvish, their reasoning was that it would keep people out of meetings who were at least motivated enough to learn elvish, and it sounded better when you swore. But applying a language change to solve a structural problem was never going to fly.
- mccoyst 14y agoGo solves almost all of the problems that C introduces, how's that sound?
- spullara 14y agoThose problems were solved by Java over a decade ago in a nearly identical way.
- mccoyst 14y agoEither you don't know Java or you don't know Go, because the way the two do things almost couldn't be more different. The JVM and the requirement that every non-primitive be a class that inherits from Object are not small differences.
- spullara 14y agoJust because they solve the same problems differently, doesn't mean they don't solve the same problems.
- cldrope 14y agoI love Java but it did introduce us (which may have occurred naturally over time) to new subsets of problems, which may in the future as well be referred to as traits.
- sanderjd 14y agoCould you elaborate? Go feels nothing like Java to me.
- ChuckMcM 14y agoCircular :-) But more constructively, it helps if you can get a bit deeper in the analysis. So C has a memory management problem, solved or not solved? C has a concurrency problem, solved or not solved? C has a security problem, solved or not solved? I will be the first to admit that I've not kept up with it since I left so it is entirely possible it's found its voice, has it?
- mccoyst 14y agoI do mean almost everything; C has many problems: The preprocessor, no modules, annoying to correctly and portably write even seemingly simple things like signed integer calculations, error handling, resource management, almost anything involving arrays is a pain. I could go on, if I were in a worse mood. Go solve all of those for me, keeping the same clean feeling of C, yet is actually clean and simpler.
- cpeterso 14y agoBut Go was not created in a vacuum. Many other languages have solved C's problems since then.
- npalli 14y agoHow do you explain Java's massive uptake. It can't be it that it solved some problem uniquely that no other language did (whatever that was in 1995). Without the massive marketing and development by Sun, IBM and Oracle who wanted to use it to undermine the windows platform I doubt Java would have taken off the manner it has. Same thing with C and C++. Without AT&T's backing of Unix and C it is highly unlikely C would have ended up where it is right now. The initial backing of C++ by AT&T was certainly instrumental in pushing it forward. Similar examples Python -- interesting niche language until Google picked it up and started pushing it around 2004. FORTRAN -- IBM's muscle C# -- doesn't solve anything that Java or C++ couldn't do in 2000 except Microsoft wanted their own proprietary language. It seems that solving some problem might be optional, but commerical backing and long term support is essential.
- ChuckMcM 14y agoJava set out to solve two problems, one was portability of 'compiled' code, so OS/ISA independence, and the other was security issues. And Sun was actually in the process of flushing it down the toilet prior to the response it got in Darmdstadt and elsewhere. The big marketing push came when Sun saw it as a way to club Microsoft, that occurred only after people figured that 'life in the browser' didn't care what OS you ran on. And a lot of people wanted to get out from under Microsoft's thumb at the time. "It seems that solving some problem might be optional, but commerical backing and long term support is essential." It seems Forth might be a counter example here, what are your thoughts on its relative success?
- mccoyst 14y agoVery few people/projects use Forth… But, I can think of one or two way more popular and significant counterexamples (although I don't disagree with his general sentiment): Perl and Ruby.
- mjwalshe 14y agowell FORTRAN was designed for technical programming so its not just IBM's muscle.
- 14y ago
- 6ren 14y agoIt's an instance of market adoption of a product, being a solution to an urgent problem helps. Many programming languages are scripting languages of a platform, and it's the platform that solves the problem. In general it's subject to all the vagrancies of marketing, especially whether it gets publicized/promoted/pushed. If there are competing products, and both do the same job well, probably one will win (e.g. python is used for integration). BTW: What problem did Java solve? It seemed to be intended for settop boxes; then for web applets; but serendipitously got traction in the enterprise. It sounds almost a counter-example (is it?)
- ChuckMcM 14y agoSee below, but specifically to your enterprise comment, by creating an OS independent abstraction environment Java code could cross boundaries of folks equipment and the security policies insured that offering up programmability didn't mean giving away the farm. That was a need the enterprise providers had had for a long time (and one that Rexx was also targeting btw)
- supersillyus 14y agoDoes the answer here make sense to you?: http://golang.org/doc/go_faq.html#creating_a_new_language http://golang.org/doc/go_faq.html#creating_a_new_language