Рет қаралды 2,432
The go language is a powerful tool based mainly on two components, the go compiler, which transforms our code into an executable binary, and the runtime, a big chunk of existing code compiled with our code. This talk is about the latter, that piece of software that includes things like the garbage collector, the scheduler, goroutines, maps, channels…
In this talk, I will explain what the go runtime is and what it contains. Also, we’ll talk about all the initialization processes and what does for us the runtime once everything is initialized and our code is running.
We will talk about the garbage collector and scheduler initialization, the spawn of our main function in a go routine, and a shallow explanation of things that happen after that, like goroutines scheduling and memory management.