Skip to content
Opensource internals
  • Posts

Posts

All posts published on this site.

Everything published here, newest first.

unsafe.Pointer and //go:linkname: The Escape Hatches That Break Abstraction

Oct 21, 2026 20 min read Jay Hubbert

unsafe.Pointer reinterprets memory and //go:linkname reaches into other packages’ unexported symbols; the linker enforces an allowlist of linkname pulls and prunes unreachable …

GoInternalsUnsafeLinkerLinkname

Read more →

Weak Pointers in Go: The Runtime's Special Span for Non-Tracked Objects

Oct 21, 2026 16 min read Jay Hubbert

weak.Pointer is backed by a per-object special record holding a uintptr handle, which the GC scans as a root but never treats as a strong reference, so the target can still be …

GoInternalsGarbage collectionWeak pointersRuntime

Read more →

Why Go Randomizes Map Iteration: The Attack It Prevents

Oct 21, 2026 14 min read Jay Hubbert

Map iteration picks two random offsets at start-up - one in the table directory, one in the slot space - and every map gets a random hash seed, which together defeat hash-flooding …

GoInternalsRuntimeMapsSecurity

Read more →

DataFusion's Dynamic Filters: Letting the Producer Tell the Consumer What It Learned at Runtime

Oct 21, 2026 10 min read Jay Hubbert

DataFusion passes runtime facts between operators through a shared, mutable filter expression with a generation counter and a watch channel, so a hash join can narrow a scan that …

DatafusionDynamic filtersPerformanceInternals

Read more →

Polars Stores Short Strings Inline in 16 Bytes: The View Type

Oct 21, 2026 15 min read Jay Hubbert

The View type packs a 4-byte length, 4-byte prefix, buffer index and offset into 16 bytes, and inlines any string of 12 bytes or less directly into those bytes.

PolarsInternalsStringsArrowMemory

Read more →

← Newer Page 26 of 74 Older →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·