HaikuBlog
TerminalTerminal
Go Haiku
Press Esc to go back

/projects/go-haiku

Modernizing the Go language support on HaikuOS and bringing advanced instrumentation capabilities to the kernel.

Go Language Port

Current State

Thanks to waddlesplash, we have working Go 1.18.

The Goal

Targeting Go 1.26. Fixing `syscall` package divergences and networking stack quirks.

Instrumentation: be_trace

Haiku needs a dynamic tracing framework akin to DTrace or eBPF. We propose `be_trace`: a BeOS-philosophied approach to kernel probes.

# Proposed Syntax for Kernel Probe
probe kernel.function("vfs_read"):entry {
  printf("Reading file: %s\n", args[0]->path);
}

Interactive Probe Concept

Status: Kernel Module Not Loaded