Go Programming Language: Explained Simply! - PowerPoint PPT Presentation

About This Presentation
Title:

Go Programming Language: Explained Simply!

Description:

Go programming language is an open source static type language designed by Google engineers Robert Griesemer, Rob Pike and Ken Thompson. – PowerPoint PPT presentation

Number of Views:495

less

Transcript and Presenter's Notes

Title: Go Programming Language: Explained Simply!


1
Go Programming Language Explained Simply!
2
Why Golang?
  • To make processors highly performant Hardware
    manufacturers are adding more and more cores to
    the processors.
  • Since data centers are running on such
    processors the number of cores will increase over
    the years.
  • However, addition of cores has physical
    limitations and software optimizations are
    required.
  • Thus, languages should support concurrency easily
    and they should be scalable with increased number
    of cores.
  • Go was developed with the express purpose of
    scalability and concurrency.

3
  • Following are some of the features of Golang,
    which make it most suitable for modern computing
    needs

4
Multithreading
5
Language Design
  • Go programming language is easy to understand and
    readable.
  • It minimizes dependencies of code. For instance,
    Golang doesn't have Classes, Constructor,
    Inheritance, Generics and Exception.
  • As a result, dependency management is good due to
    its object-oriented support.
  • Data structures in Golang such as slice and
    struct provide a convenient way of storing
    elements. This makes it easier for developers to
    create neat code which is easy to create and most
    importantly easy to maintain with short compile
    time.

6
Package Management
  • Golang Package Management allows developers to
    utilize the functionality of other files.
  • This removes the requirement of adding header
    files to every program.
  • It also facilitates Remote Package Management.
    Improved Package Management provides improved
    features of the application.

7
Powerful standard library
  • Gos powerful Standard library has been segmented
    into packages. These packages provide a wide
    range of functions.
  • Some of these packages are Compression Packages,
    String related packages, collection packages,
    graphics packages, Mathematics packages and even
    miscellaneous packages.
  • This kind of library support helps developers to
    quickly compile functionality rich applications.

8
Static Typing
  • It is an open source programming language which
    is statically typed and explicit.
  • However, though it is statically typed its
    syntax follows patterns which are similar to
    those of Dynamic languages.
  • As a result, Golang combines hardware efficiency
    with software efficiency.
  • Thus Go programs implement functionality with
    less machine code while ensuring that written
    code executes as quickly as possible.

9
Testing Support
  • Go has inbuilt testing support. It allows
    programmers to test parallelly with writing code.
  • Further, package testing allows automated testing
    for Go packages. This is used along with the go
    test command, which automates the execution of
    any function of the form.
  • Go language also features automated garbage
    collector. Such testing and garbage collection
    help build error-free and bug-free applications
    that perform optimally at the client end.

10
Platform Independent
  • Go supports platform independence.
  • Its code is compiled and converted to binary form
    right away such that it is so small that it does
    not require any dependency.
  • Such source code can be compiled on any operating
    system, platform, server or application. This
    brings about cost efficacy for the client.

11
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com