Static linking Go binaries

Posted on Fri 24 February 2017 in go

By default, go (<=1.8) compiles a dynamic linked binary if you run go build.

It can be verified with the file command:

$ file go_executable
go_executable: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-x86_64.so.1, not stripped, with debug_info

Add -ldflags "-linkmode external …


Continue reading

Comparing the number of new Python2 and Python3 packages on PyPi

Posted on Sun 08 January 2017 in Python

I didn't found information about the current activity around different Python versions. So, I decided to periodically collect the number of PyPI packages from the official site to get insight to the current popularity of Python2 vs. Python3.

Here are the results: Number of new Python2 and Python3 packages on PyPi

Technical details

The number of packages in PyPi …


Continue reading