so you think you know 'go'? the go programming language
TRANSCRIPT
Presented by John Potocny @ATO 2014
So you think you know ‘Go’?
The Go Programming Language
About Me
Backend Developer at VividCortex, BCE from Kettering University
Programming Experience: Mainly C#/Java, Embedded C/C++, some Python
Twitter: @JohnPotocny1
Email: [email protected]
A Brief History
● Created in 2007 by Robert Griesemer, Rob Pike, & Ken Thompson
● Developed by Google
● Open Source - since Nov 10, 2009 (Public Announcement)
● Currently v1.3.3 (Stable)
What Kind of Language is Go?
Language Features
Actually, It’s More Like This
Great Tools Built-In
Compiles Quickly - Native Binary
Garbage Collected
Statically Typed
Interfaces and Composition
Concurrency
What Did Go Get Rid Of?
Remember The Goals!
Enough Chat, Let’s See Some Code!
A “Modern” Hello World
A “Modern” Hello World
How About a Real Example?
How About a Web Server?
http://play.golang.org/p/r-__BazPxE
Or Even:
Server With Limited Connections?
http://play.golang.org/p/OMian3YwlD
No Language Is Perfect...
Other Things?
No Generics
Go Has Complex Numbers
Static Types - No Implicit Conversion
Strict Compiler Interrupts Flow
Race Conditions Still Exist
Wait, Go Has ‘goto’!?
Questions?
Thank You!