SlideShare a Scribd company logo
Hello!
I am Shubham Mishra
I am here to deliver a seminar on Go
Programming Language.
1
Programming
Language
Introduction
● Go is a programming language which is developed by Google in 2007. it
was introduced to the public in 2009.
● It is developed with the vision of high performance and fast development.
● Go is modern, fast and comes with a powerful standard library.
● Go is an open source programming language that makes it easy to build
simple, reliable, and efficient software.
3
● Their goal was to create a language, loosely based
on the syntax of the C programming language,
which would eliminate the "extraneous garbage" of
languages such as C++.
Founders of Go
4
Robert Griesemer Rob Pike Ken Thompson
History
5
Why Go is invented ?
6
Go is a programming language
designed by Google to help solve
Google's problems.
And Google has
big problems!
Which (big) problems?
7
• Hardware is big and the software is big
• There are many millions of lines of software
• Servers mostly in C++ and lots of Java and Python
• Thousands of engineers work on the code
• All this software runs on zillions of machines.
“In short, development at Google is big, can be
slow, and is often clumsy. But it is effective.”
Why to learn Go?
• Eliminate slowness .
• Secure and easy to Maintain.
• Good Hardware interaction.
• Go focuses on the speed of production.
• It was designed by and for people who write, read, debug and
maintain large software systems.
“Go's purpose is not to do research on
programming language design. Go's purpose is
to make its designers programming lives
better.”
Who are using today?
9
What will you see in Go?
● Compiled
● Garbage-collection
● Own runtime
● Simple syntax and Great standard library
● Cross-platform
● Closures
● Object Oriented (without inheritance)
● Statically typed
● Concurrent
● values Pointers
10
What will you not see in Go?
● Exception handling
● Inheritance
● Generics
● Assert
● Method overload
11
Have not been implemented in favor
of efficiency.
Structure of Go Programs
The basic structure of a Go
programs consists of following
parts:-
● Package Declaration
● Import Packages
● Variables
● Statements and Expressions
● Functions
● Comments
12
// First program of golang
package main
import "fmt"
func main()
{
fmt.Println("Hello, World")
}
Output: Hello, World
Features of Go
13
• Compiled
• Garbage collection
• Safe
• C-inspired syntax
• Multi-paradigm
• Standard library
• Simplified documentation
• Concurrent
• Fast
• Lightweight
• Open source by nature
• Comes with built-in testing tool
• Compiled directly to machine code
• Go-routines
Drawbacks of Go
14
• A young language, so it is still developing.
• Absence of manual memory management
• Too simple
• Error handling isn’t perfect
• Runtime safety is not that good
• Difficult Community
Thanks!
Any questions?
15

More Related Content

Golang (Go Programming Language)

  • 1. Hello! I am Shubham Mishra I am here to deliver a seminar on Go Programming Language. 1
  • 3. Introduction ● Go is a programming language which is developed by Google in 2007. it was introduced to the public in 2009. ● It is developed with the vision of high performance and fast development. ● Go is modern, fast and comes with a powerful standard library. ● Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. 3 ● Their goal was to create a language, loosely based on the syntax of the C programming language, which would eliminate the "extraneous garbage" of languages such as C++.
  • 4. Founders of Go 4 Robert Griesemer Rob Pike Ken Thompson
  • 6. Why Go is invented ? 6 Go is a programming language designed by Google to help solve Google's problems. And Google has big problems!
  • 7. Which (big) problems? 7 • Hardware is big and the software is big • There are many millions of lines of software • Servers mostly in C++ and lots of Java and Python • Thousands of engineers work on the code • All this software runs on zillions of machines. “In short, development at Google is big, can be slow, and is often clumsy. But it is effective.”
  • 8. Why to learn Go? • Eliminate slowness . • Secure and easy to Maintain. • Good Hardware interaction. • Go focuses on the speed of production. • It was designed by and for people who write, read, debug and maintain large software systems. “Go's purpose is not to do research on programming language design. Go's purpose is to make its designers programming lives better.”
  • 9. Who are using today? 9
  • 10. What will you see in Go? ● Compiled ● Garbage-collection ● Own runtime ● Simple syntax and Great standard library ● Cross-platform ● Closures ● Object Oriented (without inheritance) ● Statically typed ● Concurrent ● values Pointers 10
  • 11. What will you not see in Go? ● Exception handling ● Inheritance ● Generics ● Assert ● Method overload 11 Have not been implemented in favor of efficiency.
  • 12. Structure of Go Programs The basic structure of a Go programs consists of following parts:- ● Package Declaration ● Import Packages ● Variables ● Statements and Expressions ● Functions ● Comments 12 // First program of golang package main import "fmt" func main() { fmt.Println("Hello, World") } Output: Hello, World
  • 13. Features of Go 13 • Compiled • Garbage collection • Safe • C-inspired syntax • Multi-paradigm • Standard library • Simplified documentation • Concurrent • Fast • Lightweight • Open source by nature • Comes with built-in testing tool • Compiled directly to machine code • Go-routines
  • 14. Drawbacks of Go 14 • A young language, so it is still developing. • Absence of manual memory management • Too simple • Error handling isn’t perfect • Runtime safety is not that good • Difficult Community