Thread-Safety in Go – An Overlooked Concern @ The Go Conference, Japan, 2021

The Go Conference, Japan

This year, I'll be giving a talk about Thread-Safety in Go - a subject often neglected in many training materials on Go Concurrency at The Go Conference, Japan.

In the talk, we'll cover what thread-safety is at all, why one should care even if we have channels and Goroutines. We'll go through several examples which illustrate non-thread-safe code and how to resolve the issues.

Throughout this process, we'll learn about stateless functions, shared mutable state, delegating thread-safety, atomic compound actions and my favourite - visibility.

And most importantly, in the end I'll provide some guidance on where to learn more about the subject and gain a more complete understanding of concurrency.

So if any of that sounds interesting, I'll see you there. The conference is held online and there are still some tickets left.

The talk will be held at 15:40 GMT+9 (Japan).

I'll see you there!

My thoughts on Java Concurrency in Practice

My thoughts on JCIP

One of my key goals this year was to gain a good understanding of concurrency and multithreading. I've always had a tangent understanding of it at best. The book Java Concurrency in Practice was one of my first picks.

Sure, I've used multithreading concepts like promises & ajax in JavaScript before. I've also spawned go routines & used mutexes in Go. But I've never felt I'm proficient enough to state that I have a good understanding of this subject.

Hence, to bridge this gap in knowledge & skills, I decided to invest in several concurrency related books & courses. My intention was to start from JCIP and then move on to some additional courses. Initially, I felt that just reading this book won't be sufficient to understand the subject thoroughly.

However, after going through this book I didn't bother looking into any other concurrency course at all. It is one of the most succinct and yet thorough books on a given topic that I've ever read.

Additionally, I would recommend you to go through this book even if you're not using Java at all. It will give you a very profound understanding of whatever framework/mechanism your language of choice uses to tackle concurrency.

Here's why...

Continue Reading

Site Footer

BulgariaEnglish