Why invent a new language? Go creator explains
Saturday, 21 August 2010

Why Go? Do we need another language? One of the creators of Google's new language Go explains some of the inner reasons for inventing a new language - including boredom generated by waiting for code to compile.

Banner

 

It seems to be all too easy to invent a new language at the moment and as a result there are a lot of choices on offer. From having only a small number of languages that were "important" we now have  enough to make the beginner's question, "which language should I learn/use" a really difficult one.

As well as the long standing minority a languages such as Perl, and PHP, we now have Python, Ruby, Clojure, Scala, Erlang, F#, Objective C, D and so on. This list isn't accurate or authoritative it's just a list of languages that have been brought to my attention because of books, news items or general interest.

It has never been easier to create a language - the tools are more than ready - but does this explain why new languages are springing up like weeds? Another likley factor is dissatisfaction with the old languages. InformIT has an interesting interview with Rob Pike the designer of Google's Go language.

"The starting point was long compile times—for some of our big software at Google, build times can be unreasonably long, even with our large distributed compilation clusters. The dependency management (or lack thereof) in C and C++ results in far too much code going through the compiler.

You might say that Go was conceived while waiting for a big compilation."

So Go is a response to slow builds. (Read the rest of the interview: All Systems Are Go). The mainstream languages are bloated seems to be a common opinion - but there are reasons why they are "big" and it is a law of languages that new "small" languages grow to be "big" as they accrete features.

See what you think of the new v old argument as you watch Rob Pike's recent presentation at OSCOM.

 

 

 

New languages are fun but I Programmer's conclusion is that they divert valuable talent away from the real job in hand - getting the languages we already have into good shape.

 

Go

Further reading

Go with Google - Yet Another Language!

Getting started with Google's Go

Language Implementation Patterns

Banner


Spheree The 3D Snow Globe Breakthrough
30/08/2014

This approach to 3D projection could be the technology we have been waiting for. Multiple pico-projectors are used to create a seamless 3D experience. 



Java And C++ At All Time Low
11/09/2014

Yes it's the TIOBE index again, but before you dismiss it as nonsense consider the relative changes in the most popular languages. Something is afoot!


More News

<ASIN:0763776270>

<ASIN:1590591348>

<ASIN:0805316701>

<ASIN:0471113530>

<ASIN:155860698X>

Last Updated ( Saturday, 21 August 2010 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.