Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Golang
Golang
Golang
Ebook59 pages25 minutes

Golang

Rating: 0 out of 5 stars

()

Read preview

About this ebook

The guide to Golang. Please check the table of contents before buying.

Also, was just trying to break down how exactly images are stored in Golang because it is a little different than the arrays in Python and C. This is just to get you thinking.

LanguageEnglish
PublisherAlec Stovari
Release dateAug 8, 2023
ISBN9798223004820
Golang

Read more from Alec Stovari

Related to Golang

Related ebooks

Programming For You

View More

Related articles

Reviews for Golang

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Golang - Alec Stovari

    A quick introduction to Go

    Go is an open-source , compiled, and statically typed programming language developed by Google, also known as Golang. Rob Pike, Ken Thompson, and Robert Griesemer are the core people behind the formation of Go. In November 2009, Go was made available officially.

    Go is a programming language for general purposes with basic syntax and is provided by a comprehensive standard library. The development of highly accessible and flexible mobile applications is one of the main areas where Go shines. Go can also be used to build software for the command line, desktop apps, and even smartphone apps.

    The grammar is clear and succinct and the needless aspects of the language are not overloaded. This makes writing code that is readable and maintainable simple.

    Concurrency is an intrinsic feature of the language. As a consequence, it is a piece of cake to write multithreaded programs. This is done in the forthcoming tutorials by Goroutines and platforms which we will explore.

    Go is a language that is compiled. It compiles the source code into a native binary. This is lacking in languages such as JavaScript that are interpreted.

    The Go compiler is pretty awesome and it was built right from the start to be quick.

    Static binding is provided by the Go compiler. You can statically connect the whole Go project into one huge fat binary and it can be quickly deployed on cloud servers without caring about dependencies.

    Go uses garbage collection, so memory management is almost immediately taken care of and the developer doesn't need to think about memory management. This also makes it possible to write parallel programs. Last but not least, Go is a project that is open source. You will join the Go project and contribute.

    ●  Google developed Kubernetes using Go.

    ●  Docker, the world-famous containerization platform is developed using Go.

    ●  Dropbox has migrated its performance-critical components from Python to Go.

    ●  Infoblox's next-generation networking products are developed using Go.

    Go can be installed on all three platforms Mac, Windows, and Linux. You can download the binary for the corresponding platform from https://golang.org/dl/.

    To get started with your first program, create a file named main.go:

    package main

    import fmt

    func main() { 

    fmt.Println(Hello World)

    }

    This will print out Hello World if you run the program using go run main.go.

    Go Vs Python

    Python

    Python as a programming language is a powerhouse, and no one is contesting that. It’s an easy-to-setup language with many developers creating newer projects and use cases every day. A quick look at PyPI, the official Python package index for third party modules lists 270000 projects and counting, ranging from web development to data science and now quantum programming.

    Pypi Projects Topics

    Pypi Projects Topics

    But as a programmer , we should learn about the limitations of a language,

    Enjoying the preview?
    Page 1 of 1