Go Systems Programming

Mihalis Tsoukalos

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-26
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 466
  • 裝訂: Paperback
  • ISBN: 1787125645
  • ISBN-13: 9781787125643
  • 相關分類: Go 程式語言
  • 已過版

買這商品的人也買了...

相關主題

商品描述

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

  1. Getting Started with Go and Unix Systems Programming
  2. Writing programs in Go
  3. Advanced Go Features
  4. Go Packages, Algorithms, and Data Structures
  5. Files and Directories
  6. File Input and Output
  7. Working with System Files
  8. Processes and Signals
  9. Goroutines - Basic Features
  10. Goroutines - Advance Features
  11. Writing Web Applications in Go
  12. Network Programming

商品描述(中文翻譯)

主要特點


  • 學習如何使用Golang編寫系統級代碼,類似於Unix/Linux系統代碼

  • 快速入門Golang

  • 深入研究Goroutines和Go並發,以便能夠利用Go服務器級結構

書籍描述

Go是Linux和Unix系統的新一代系統編程語言。一些最著名的雲級系統,如Docker,也是使用Go編寫的。在過去,C程序員主導了系統編程領域,而現在需要Go程序員來編寫高度優化的系統編程代碼。

由C和Unix的原始設計者之一創建,Go擴展了系統程序員的工具包,並添加了一種成熟、清晰的編程語言。傳統的系統應用程序變得更容易編寫,因為指針不再重要,並且垃圾回收解決了低級系統代碼最棘手的問題:內存管理。

本書將高性能Unix系統應用程序的世界打開給初學者Go程序員。它不僅僅局限於單一系統或特定系統類型,而是試圖將Unix系統級編程的原始教學擴展到各種類型的服務器、雲端和網絡。

你將學到什麼


  • 從Unix、Linux等開發者的角度探索Go語言

  • 理解Goroutines,這是用於系統和並發應用程序的輕量級線程

  • 學習如何將C語言中的Unix和Linux系統代碼轉換為Golang代碼

  • 如何編寫快速輕量級的服務器代碼

  • 深入研究Go的並發性

  • 編寫低級網絡代碼

關於作者

Mihalis Tsoukalos是一位Unix系統管理員、程序員、數據庫管理員和數學家,喜歡撰寫技術書籍和文章,並學習新事物。他已經為許多雜誌撰寫了250多篇技術文章,包括Sys Admin、MacTech、Linux User and Developer、USENIX ;login:、Linux Format和Linux Journal。他的研究興趣包括數據庫、操作系統、統計學和機器學習。

他還是Manning出版社出版的《MongoDB in Action, Second Edition》的技術編輯。

目錄


  1. 開始使用Go和Unix系統編程

  2. 使用Go編寫程序

  3. 高級Go特性

  4. Go包、算法和數據結構

  5. 文件和目錄

  6. 文件輸入和輸出

  7. 處理系統文件

  8. 進程和信號

  9. Goroutines - 基本特性

  10. Goroutines - 進階特性

  11. 使用Go編寫Web應用程序

  12. 網絡編程