Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

Golang presentaion-2018-07-26

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Chargement dans…3
×

Consultez-les par la suite

1 sur 10 Publicité

Plus De Contenu Connexe

Diaporamas pour vous (19)

Similaire à Golang presentaion-2018-07-26 (20)

Publicité

Plus récents (20)

Golang presentaion-2018-07-26

  1. 1. Shintaro Ikeda 2018-07-26 Introduction of Go language 1
  2. 2. What is Go language? 2 Go language (Golang) is a programming language developed by Google
  3. 3. Why Golang? 3 Issues in existing programming languages (mainly C, C++) Compiling is slow. Garbage collection and parallel computation are not well supported. > We believe it's worth trying again with a new language, a concurrent, garbage-collected language with fast compilation. * https://golang.org/doc/faq
  4. 4. Fields where Golang is used 4 Container technologies Docker Kubernetes Infrastructure platform Terraform Network traefik Monitoring Grafana Prometheus
  5. 5. Feature of Golang 5 Simple syntax basically similar to C language Sample code
  6. 6. Feature of Golang 6 You can write concurrency easily Golang has green thread, “goroutine” Communicate between goroutine by using “channel” Sample code
  7. 7. Golang abandoned what has been cultivated 7 Golang drops Exception -> Golang's approach > We believe that coupling exceptions to a control structure, as in the try-catch-finally idiom, results in convoluted code. Inheritance -> Golang's approach > Because there are no explicit relationships between types and interfaces, there is no type hierarchy to manage or discuss.
  8. 8. Golang supports developers 8 Cross compile For Linux For Windows $ GOOS=linux GOARCH=amd64 go build $ GOOS=windows GOARCH=amd64 go build
  9. 9. Golang supports developers 9 Format code Create document Do benchmark $ go fmt hello.go $ go doc yourPackage $ go test -bench .
  10. 10. 10 Thank you for your attention.

×