13. Xuebin He
“Go provides a model for software construction that
makes dependency analysis easy and avoids much of
the overhead of C-style include files and libraries.”
14. Xuebin HeXuebin He
Fast Compilation
Easy for OOP
Built-in Concurrency
Pass by Reference
Readability
Dependency Management
25. Xuebin He
Goroutines vs Thread
The OS schedules threads to run against available processors
Go runtime schedules goroutines to run within a logical
processor that is bound to a single OS thread
26. Xuebin HeXuebin He
Go 1.6.2 (April 2016)
64-bit x86 CPU (A10-7850K 4GHz)
| Number of goroutines: 100,000
| Per goroutine:
| Memory: 4707.92 bytes
| Time: 1.842097 µs
27. Xuebin HeXuebin He
Fast Compilation
Easy for OOP
Built-in Concurrency
Pass by Reference
Readability
Dependency Management