Przejdź do treści

Best of two worlds: Lecture + Workshop.

Zdjęcie użytkownika Szymon Sobczak
Hosted By
Szymon S.
Best of two worlds: Lecture + Workshop.

Szczegóły

Lesson learned from the previous meetup we can agree that coding using new, unknown language can be difficult. That's why this time we will start with a presentation, showing and explaining some of the concepts. After the theory, there will be some practice - a short workshop where everyone will have a chance to use the newly learned skills.

This time we'll be minimizing server's response time using parallelism. We will start with lecture - really quick overview of Go's concurrent mechanisms (grorutines and channels). So even if you haven't tried Go yet, you'll get a quick introduction.

After the lecture you'll get a complete code of a tiny HTTP server in Go, which is slow due to being single threaded. First you'll get a chance to parallelise it yourself, and after that we will try to cut down the long tail of slowest responses, again using some parallel tricks :)

Please bring your own laptop with Go installed. Install the newest version, Go 1.1.x. Installing from source is really easy and is described here: http://golang.org/doc/install/source .

Make sure that if you type "go version" in your terminal, you see "go version go1.1".

Please install Sublime Text 2 with DisposalBoy's GoSublime plugin (https://github.com/DisposaBoy/GoSublime) (the installation instructions are a part of README).

I understand that Vim is the only true religion, but this statement is correct only for well-configured Vim. In my opinion, when using a new language, syntax error highlighting and auto-completion is a must have. I will refuse to help people who during the workshop will be using editor without those key features.

Photo of Golang KRK group
Golang KRK
Zobacz więcej wydarzeń
X-Formation
Ostatnia 1C · Kraków