Notes

  • Fail Fast Bash Scripting

    Fail-fast code makes errors apparent and therefore easier to fix. Bash’s set builtin has a few options to help you write fail-fast scripts.

  • Wrapping Counters

    I recently was using wrapping counters to implement a circular buffer. While doing this, I found a doc on circular buffers in the Linux kernel which stated:

  • Integer Overflows

    The behavior of integer overflow for arithmetic operations varies across languages and, in the case of C, between C compilers.

  • Go Memory Management

    All computing environments must deal with memory management. This article discusses some memory management concepts used by the Go programming language. This article is written for programmers familiar with basic memory management concepts but unfamiliar with Go memory management in particular.