Posts

Showing posts from December, 2016

Vlad's Diving Into Go : Chapter 1 : Introducing Go

Solving Modern Programming Challenges with Go Takes much of the overhead out of object-oriented development to focus on code reuse Has a garbage collector Development Speed Uses a smart compiler and simplified dependency resolution algorithms Compiler only looks at libraries that re included in the entire dependency chain Needs a test suite to avoid discovering incorrect type bugs at run time Concurrency Go's concurrency support is one of its strongest features goroutines are like threads but use less memory and require less code Creates a model where you can send data between goroutines rather than letting goroutines fight to use the same data Goroutines Goroutines are functions that run concurrently with other goroutines Many goroutines execute on a single thread Goroutines use less memory than threads and the Go run time will schedule the execution of goroutines against a set of configured logical processors Each processors is bound to a single OS thread which makes more effici...