Delivered once every Week. No Spam Ever.

Issue - 38


Worthy Read

The single best property of Go is that it is basically non-magical. With very few exceptions, a straight-line reading of Go code leaves no ambiguity about definitions, dependency relationships, or runtime behavior. This makes Go relatively easy to read, which in turn makes it relatively easy to maintain, which is the single highest virtue of industrial programming.

FlatBuffers is an efficient cross platform serialization library for C++, C#, C, Go, Java, JavaScript, PHP, and Python. It was originally created at Google for game development and other performance-critical applications.

Catch Errors Before Your Users Do

Benchmarking is an important step in writing software. This may extend beyond the scope of your Go program, but attention should also be given to the Go program itself. If you’re writing APIs or if you’re implementing a parser for a specific file format - benchmarking will tell you how performant your implementation is.

Not sure which ones are in English :)

We write some of our code using the Go programming language, we looked for financial library in Go, similar to NumPy’s financial functions available in Python, and were surprised that we couldn’t find any. So we set out to implement package financial in Go.

Golang is surely my first to go language to write web application, it hides many details but still gives a lot of flexibility. Recently I did strace to an http service app, actually did it without a reason but I found something interesting.


Go and SQL

Ctrl+C famously terminates a program. By default in Go any running code is immediately stopped. But sometimes, you want to do a bit of clean-up before the program ends and this is especially elegant if you use the context.Context package.

Most of the time, we don’t have to think about the cost of new resources. Most of the time, we can grab a new one and trust the garbage collector to pick up after us. But, when resource allocation becomes our bottleneck, the careful application of an appropriate resource pool can make a big difference.


Generics, one item on wish list of many go developers. But one that wouldn't be it seems.




Projects

goplayspace - 239 Stars, 8 Fork
Experimental Go Playground frontend written in Go

go-jsonfeed - 19 Stars, 1 Fork
Simple JSON Feed implementation in go.

go-mocket - 14 Stars, 0 Fork
Go GORM & SQL mocking library.

xgopher - 11 Stars, 0 Fork
One giant hack for an xeyes variant.

copyql - 6 Stars, 0 Fork
Copy SQL data, including related data, from one database to another.

pointspaced - 5 Stars, 0 Fork
collects and aggregates data into a very neat data structure made up of collections of hashes.

corelib - 3 Stars, 0 Fork
A tool for reading Go core files.