Quantcast
Channel: Samuel's Tech Blog - Go
Browsing latest articles
Browse All 5 View Live

Image may be NSFW.
Clik here to view.

Moar Languagez! GC content in Python, D, FPC, C++ and C (and now Go)

My two previous blog posts (this one and this one) on comparing the performance of a number of languages for a simple but very typical bioinformatics problem, spurred a whole bunch of people to suggest...

View Article



Image may be NSFW.
Clik here to view.

Go speedup with threading, for line by line string processing

UPDATE, 2013004: With a slightly modified code, and 3 threads (see basecompl_par2.go below), the numbers are now improved: 52%, resp. 80% speedup, depending on how you count, so, almost doubling the...

View Article

Python-like generator functions in Go

Ever since I stumbled upon David Beazleys excellent tutorial on python generator functions, I have been very fond of them.A generator function is basically a function that - rather than return a list...

View Article

Image may be NSFW.
Clik here to view.

Profiling and creating call graphs for Go programs with "go tool pprof"

Update: Now covers - as an alternative - to do this in an even easier way, using Dave Cheney's excellent profile library.In trying to get my head around the code of the very interesting GoFLow library,...

View Article

Easier debugging of Go programs on the command line with CGDB

In this 4 minute tutorial I quickly go through how to use CGDB to debug a Go program in an easier way than with the GDB debugger directly, since it continuously shows the code context. I cover the...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images