GoWroc #37: Errors, mutexes and ENV
- 17:45 Networking
- 18:00 Talks
Paweł Słomka: Looking forward to see your err
Krzysztof Dryś: Benchmarking data synchronization patterns
Tobiasz Heller: Read environment variables with grace.
- 19:30 Networking
Talks:
Paweł Słomka: Looking forward to see your err
A short talk about error handling in the past (pre Go 1.13), future (1.13+), and the outer, non-standard space (pkg/errors).
Krzysztof Dryś: Benchmarking data synchronization patterns
How expensive is it to lock a mutex? Does it make any difference, if it is a read-write one? Are channels faster? I will be live-codding benchmarks of different ways to access a memory key-value store. We will see, what complexity and performance tradeoffs come with different patterns. Surely, we all know that “premature optimization is the root of all evil”. But it is also so much fun!
Tobiasz Heller: Read environment variables with grace.
Do you think that `os.Getenv("FOO")` is not good a choice for an application with multiple settings? How to pass config from env into the library? I will show you how reading environment variables can be simplified using `github.com/kelseyhightower/envconfig`.
Speakers:
Paweł - in the software development industry for over eight years now, he started his journey with Java and spent some time in Java Script, but recently he's been working exclusively with Go. He tries to stay up-to-date with the latest tools and IT solutions, some of them he describes on his technical blog: https://mycodesmells.com/.
Krzysztof - a software developer, with a passion for creating systems which work. He likes clean code, designing complex applications and working with people. For the last five years, he has been programming in Go.
Tobiasz - software developer with 5 years of experience. He started his career building hardware-in-the-loop systems using graphical language (LabVIEW), but recently he's switched to web development and Go.