Unsafe string interning in Go
I discuss the https://go4.org/intern package and the unsafe techniques it uses to implement string interning in Go.
Recent content in Home on Matt Layher
I discuss the https://go4.org/intern package and the unsafe techniques it uses to implement string interning in Go.
I describe my experiences porting a toy hashtable design to the June 2020 Go generics draft design.
A description of the audio/video/computer equipment that Matt uses working from home.
An introduction to CoreRAD, an extensible and observable IPv6 Neighbor Discovery Protocol router advertisement daemon.
Using Go tools to safely write unsafe code.
An exploration into building safe and ergonomic byte parsing APIs in Go.
An introduction to the IPv6 Neighbor Discovery protocol, and how to utilize it from Go.
My experiences as a professional programmer dealing with RSI and cubital tunnel syndrome, and how I manage these issues.
Accessing hardware information using the SMBIOS standard with Go.
Using Go's unsafe.Pointer type to cast raw memory and work with system calls.
Lessons learned while working with DigitalOcean's monolithic Go code repository, cthulhu.
An introduction to Ethernet frames, VLAN tags, and raw sockets, and how to leverage low-level networking primitives in Go.
Leveraging Linux VM sockets to enable bidirectional, many-to-one communication between a hypervisor and its VMs, using Go.
Using netlink, generic netlink, and nl80211 to manipulate WiFi network interfaces on Linux, using Go.
An introduction to generic netlink: an extensible netlink family. This post also describes how to leverage generic netlink in Go.
An introduction to Linux's netlink subsystem, and a tutorial on how to make use of it with Go.
A step-by-step explanation of how to contribute to the Go project.
Controlling QEMU and libvirt programmatically using pure Go interfaces.
An exploration of DigitalOcean's monolithic Go code repository.