Let's go

download Let's go

If you can't read please download the document

Transcript of Let's go

Let's

Advantages-The standard languages are very strong.-In the hands of experts, they are great.-big programs, many programmers.

Disadvantages-The standard languages are hard to use.-Compilers are slow.-Many programmers prefer to avoid them.-The languages are at least 10 years old

Dont have much of the bad-dynamically typed-interpreted-good tools

Dont have the good-slow-not type-safe (static errors occur at runtime)-very poor at scale-also not very modern.

language that has the good,(must)avoids the bad-comprehensible-statically &dynamically typed-light on the page (readable)-fast to work in-scales well-doesnt require tools, but supports them well-good at networking and multiprocessing

That is .

so is different

language that has the good,(must)avoids the bad-comprehensible-statically &dynamically typed-light on the page (readable)-fast to work in-scales well-doesnt require tools, but supports them well-good at networking and multiprocessing

aims to combine the safety and performance of a statically typed compiled language with the expressiveness and convenience of a dynamically typed interpreted language.

also aims to be suitable for modern systems programming

is object-oriented not

type-oriented -inheritance is not primary -methods on any type -no classes or subclasses

is Systems language(systems software) - web servers - web browsers - databases - compilers - programming tools - operating systems (maybe)

has . * clear rules about how a program begins execution * composite valuesvar freq = map[string]float{"C4":261.626, "A4":440}

is Simplicity and clarity

It's design aims for being easy to use- No method overloading- There is no "public" or "private" label

has two compiler(1) GC written in C,very quickly(2) GCCGO written in C++, more slowly -------------------- is open source

was the language of year(2009)

Another at Language Design

Rob pike a principal engineer at Google

Were opening sourcing now because we think its reached the point of being fun and useful and powerful.

Petar Maymounkov(PhD at MIT, Computer Science and Artificial Intelligence Lab)I have reimplemented a networking project from Scala to Go. Scala code is 6000 lines. Go is about3000