Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Sun, 17 Sep 2017 07:07:00 +0000 What I want from a logging API 9 points posted by daenney https://blog.merovius.de/2017/08/06/what-i-want-from-a-logging-api.html 2474 Mon, 07 Aug 2017 07:33:00 +0000 The diminishing returns of static typing 6 points posted by kenny https://blog.merovius.de/2017/09/12/diminishing-returns-of-static-typing.html 2650 Wed, 13 Sep 2017 05:47:00 +0000 Why context.Value matters and how to improve it #go2 #experiencereport 6 points posted by daenney https://blog.merovius.de/2017/08/14/why-context-value-matters-and-how-to-improve-it.html 2517 Mon, 14 Aug 2017 08:48:00 +0000 Persistent data structures with go <p>I've recently taken a liking to <a href="https://en.wikipedia.org/wiki/Persistent_data_structure" style="box-sizing: inherit; color: rgb(3, 155, 229); -webkit-tap-highlight-color: transparent;">persistent data structures</a>. These are data structures where instead of mutating data in-place, you are creating a new version of the data structures, that shares most of its state with the previous version. Not all data structures can be implemented efficiently like this, but those that do get a couple of immediate benefits - keeping old versions around allows you to get cheap snapshotting and copying. It is trivial to pass a copy to a different thread and you don't have to worry about concurrent writes, as neither actually mutates any shared state.</p> 4 points posted by kenny https://blog.merovius.de/2018/02/25/persistent_datastructures_with_go.html 3287 Thu, 12 Apr 2018 09:02:00 +0000 The four things missing from go 3 points posted by andythomas http://blog.merovius.de/2014/09/12/the-four-things-i-miss-from-go.html 1382 Sun, 18 Dec 2016 20:48:00 +0000