Go Systems Programming: Master Linux and Unix system level programming with Go
- Length: 466 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-09-26
- ISBN-10: 1787125645
- ISBN-13: 9781787125643
- Sales Rank: #714650 (See Top 100 Books)
Key Features
- Learn how to write system’s level code in Golang, similar to Unix/Linux systems code
- Ramp up in Go quickly
- Deep dive into Goroutines and Go concurrency to be able to take advantage of Go server-level constructs
Book Description
Go is the new systems programming language for Linux and Unix systems. It is also the language in which some of the most prominent cloud-level systems have been written, such as Docker. Where C programmers used to rule, Go programmers are in demand to write highly optimized systems programming code.
Created by some of the original designers of C and Unix, Go expands the systems programmers toolkit and adds a mature, clear programming language. Traditional system applications become easier to write since pointers are not relevant and garbage collection has taken away the most problematic area for low-level systems code: memory management.
This book opens up the world of high-performance Unix system applications to the beginning Go programmer. It does not get stuck on single systems or even system types, but tries to expand the original teachings from Unix system level programming to all types of servers, the cloud, and the web.
What you will learn
- Explore the Go language from the standpoint of a developer conversant with Unix, Linux, and so on
- Understand Goroutines, the lightweight threads used for systems and concurrent applications
- Learn how to translate Unix and Linux systems code in C to Golang code
- How to write fast and lightweight server code
- Dive into concurrency with Go
- Write low-level networking code
About the Author
Mihalis Tsoukalos is a Unix administrator, programmer, DBA, and mathematician, who enjoys writing technical books and articles and learning new things. He has written more than 250 technical articles for many magazines including Sys Admin, MacTech, Linux User and Developer, USENIX ;login:, Linux Format, and Linux Journal. His research interests include databases, operating systems, Statistics, and machine learning.
He is also the technical editor for MongoDB in Action, Second Edition, published by Manning.
Table of Contents
Chapter 1. Getting Started with Go and Unix Systems Programming
Chapter 2. Writing programs in Go
Chapter 3. Advanced Go Features
Chapter 4. Go Packages, Algorithms, and Data Structures
Chapter 5. Files and Directories
Chapter 6. File Input and Output
Chapter 7. Working with System Files
Chapter 8. Processes and Signals
Chapter 9. Goroutines – Basic Features
Chapter 10. Goroutines – Advance Features
Chapter 11. Writing Web Applications in Go
Chapter 12. Network Programming