Skip to content

Instantly share code, notes, and snippets.

View jeffprestes's full-sized avatar

Jeff Prestes jeffprestes

View GitHub Profile
@jeffprestes
jeffprestes / WhyILikeGo.md
Last active August 8, 2017 14:57 — forked from freeformz/WhyILikeGo.md
Why I Like Go

Porque gosto de Go

Vou a muitos eventos de desenvolvedores em geral, muitos estranham a minha motivação tão grande por Go e me fazem essa pergunta. Daí encontrei o artigo do Freeformz e achei a ideia de deixar isso no Github muito boa. Ao ler o artigo dele encontrei muitas coisas que concordo então resolvi fazer um fork e escrever a versão em português. O intuíto é deixar claro as vantagens de Go e ajudar desenvolvedores a convencerem seus gerentes e outros colaboradores a iniciarem a adoção de Go.

Goroutines

The first 1/2 of Go's concurrency story. Lightweight, concurrent function execution. You can spawn tons of these if needed and the Go runtime multiplexes them onto the configured number of CPUs/Threads as needed. They start with a super small stack that can grow (and shrink) via dynamic allocation (and freeing). They are as simple as go f(x), where f() is a function.

Channels