Small, Fast, & Simple

May 7, 2015

Single-Executable Programs


Thanks in part to Go, single-executable programs are becoming more popular. Replacing Ruby or Python scripts with compiled, binary executables makes deployment much easier. Programs can be compiled, copied to the destination server, and run without the need for installing a full runtime platform. Compiling dependencies into the binary also avoids having to install a package manager like Pip or Bundler. Compiled programs are, in sum total, much smaller than scripts, since a full runtime platform and standard library are not necssary. They are also faster since optimizations can also be applied in ways impossible with scripts.