Two threads. Two variables. No synchronization on the shared data. And yet the JVM is allowed to produce a result that looks impossible. After all, both threads perform a write before a read. So at ...
Go 1.22 or higher. We aim to support the 3 latest versions of Go. MySQL (5.7+) and MariaDB (10.5+) are supported. TiDB is supported by PingCAP. go-mysql would work with Percona Server, Google CloudSQL ...