dotGo 2016 - Péter Szilágyi - Immutability in Go: Post mortem from a DoS-ed blockchain

preview_player
Показать описание

The tried-and-true approach to sharing memory in Go is via communication. Yet there are scenarios where the amount of data is prohibitively expensive to pass around. Instead of falling back to locks, immutable data structures provide an alternative way, where we can achieve concurrent access to shared memory while at the same time make reasoning about complexity much easier.
Рекомендации по теме
Комментарии
Автор

Is this written up anywhere? I would like to see a sort of a guide or recommended conventions doing this. Kösz szépen.

JeffreyGoldberg
Автор

Oh my, this all looks so painful to program. Take a look at Kotlin code :(

dsebastien