Sei sulla pagina 1di 9

Presentation on

Go
Programming Language

Name ID
Ajay Ghosh 1331205642
Khaled Bin Showkot 1421357042
Contents:-
• - Background + Histry (1 slide)
• - Introduction (1 slide)
• - Domain and Implementation (1 slide)
• - Evaluation (4 criterias in Chap 1 - 4 slides)
• - Advantages/Disadvantages (1/2 slides)
• - Special features and application domains (1/2 slides)
• - Installation, Popular IDE etc (1 slide)
• - Program Example (1/2 slide)
• - Conclusion and references/sources/links (1/2 slide)
History
 ● Invented by Robert Griesemer, Rob Pikeand Ken Thompson
in 2007 (public in 09)
● Born out of a need for ease of programmingcombined with
type safety and portability

● Other goals:
○ Easy to learn
○ Type safety and memory safety
○ Easy concurrency via channels and "goroutines“
○ Low latency garbage collection
○ Fast compilation
Introduction
• Go is initially developed at Google in 2007.

Go was announced in November 2009 and is used in some of


the Google’s production systems.

Go is an open source programming language.

Go 1 was released in March 2012 ,Currently, Go 1.8 released


in 16 February 2017

Go is a general-purpose language.

Go is statically typed, compiled language.


Features:-

 • Clean and Simple


• Concurrent
• Garbage collection
• Fast
• Safe
• Standard format
• Open Source
• Has methods but not a conventional object-
oriented language
Advantages
Native C support: -You can embed C code in a Go program so that you can use lots
of powerful C libraries.

Performance(Machine code):-
GoLang is a compilation language which can be compiled to machine code and the
compiled binary can be directly deployed to target machine without extra
dependency. The performance is better than those interpreted languages.

Dynamic language feel:- GoLang is a static language but it gives a feeling of


dynamic language to developers.
Disadvantages

 • Still a very young language

• Go’s tooling is really weird

• It is still not so easy to learn Go


and it’s difficult to handle errors in it
Install packages
1. Download and install it: $ go get github.com/gin-gonic/gin
2. Import it in your code: import "github.com/gin-gonic/gin"

IDE options:-
● Sublime Text 2
● IntelliJ
● LiteIDE
● Intype (Windows only)
● Netbeans
● Eclipse
● TextMate
● Komodo
● Zeus (Windows only
Conclusion/ References
The Go Programming Language Specification
http://golang.org/ref/spec
• Effective Go http://golang.org/doc/effective_go.html

Wikipedia.com

Golang.com An Introduction to Programming in Go (go book) Caleb


Doxsey

Potrebbero piacerti anche