Mike learns to Go! A journey from Java to Golang.
- Practices with Golang
- Prime sieves
- Algorithms refresh
- Counting inversions (similarity, left, right and split inversions)
- Closest pairs
- randomized quick sort util
- concurrency patterns
Runner,PoolandWorkerfrom Go in Action
- A take on
ByteBuffer/StringBuilderandslice/bytes.Buffer- fix-sized
ByteBuffervs. dynamically sizedslice - panic with error vs. multiple return values including error
- method chaining vs.
appendandcopyor util method with interface{} - object.oriented vs. functional
- setter methods vs.
xxxTo - honor the interfaces in common packages like
io - impl. based on
slice: w/ or w/o re-slicing benchmark comparison: how to make it faster? Too much overhead with cgo
- fix-sized
- TCP communication in Golang
- infinite data server (financial ticks)
- data client
- Simple key-block database - sdb