analytics ecommerce



written in Go

gopack is a Go package which provides bit packing, including emulation of C bit fields through run-time reflection and code generation.


written in Go

Package acl is a Go package providing support for accessing and modifying POSIX access control lists (ACLs).


written in C

Machine is an emulator for a computer with a simple architecture and instruction set. It is a word-oriented architecture with 32-bit words. It comprises word registers, word-addressed memory, and a simple I/O device. Additionally, it supports a protected mode extension that allows fully safe kernels to be written for it. It is intended to be used in an educational or research setting, allowing binaries to be run universally and without concern for physical architecture.

Recursive RPN Calculator

written in Go

This simple, 150-line program is a standard rpn calculator with a twist. While it behaves exactly the same as a normal rpn calculator, it’s implemented without an explicit stack. Instead, it uses recursion to simulate a stack, and function-passing to allow for the use of arithmetic and other operators.


written in Go

illegal is a Go package which provides run-time support for operations which are either not implemented as language features, or which have native support but are explicitly disallowed by the compiler. For example, Go does not have generics; illegal implements common functional, generic functions such as map and filter. For another example, Go allows function pointers to be compared to nil, but not to one another; illegal provides a workaround which allows to function pointers to be compared for equality. Most of illegal’s functionality is achieved through use of Go’s robust run-time reflection.