Go has a reputation as a boring language for web services without tricks. Ironically, developers are now using it to build Linux kernel modules, run containers inside Chromium tabs, and execute modern JavaScript faster than the C-based QuickJS engine. Right alongside those experiments are practical tools for daily production work: an error-handling linter and an expression engine update. Here are five projects, clearly split between experiments and production-ready releases.
Ekuma: a pure-Go JavaScript engine (ES2026) 8x faster than goja
Embedding JS in a Go service usually forces a compromise: pure-Go goja avoids C dependencies but hits speed and spec-version limits, while v8go uses cgo, pulling in C++ and breaking easy cross-compilation. Ebitengine creator Hajime Hoshi released Ekuma—a JavaScript engine written entirely in Go, with no cgo or JIT, under the 0BSD license.
Inside is a register-based bytecode interpreter with hidden classes, inline property caches, packed arrays, and WTF-8 strings. On the official test262 suite (53,795 ECMAScript tests), it passes 53,791 checks (99.99%), covering ES2026, modules, Intl, Temporal, import defer, ShadowRealm, and decorators. On an Apple M3 Pro (Go 1.27.4), goja is 8.30x slower than Ekuma on V8 suite v7 and 6.78x slower on QuickJS microbench; Ekuma even edges out C QuickJS (1.76x / 1.20x) and runs close to v8go --jitless (0.97x / 0.81x). Using the package requires minimal setup:
// Zero-value VM is ready to use immediately
var vm ekuma.VM
script, err := vm.ParseScript(
"hello.js",
`"Hello, " + ["wor","ld"].join("")`,
)
if err != nil {
log.Fatal(err)
}
// Execution can be canceled via context.Context
res, err := script.Evaluate(context.Background())
fmt.Println(res.String()) // Hello, world
The host API builds on syscall/js, and context cancellation guards against runaway scripts. Note that in v0.2.0 the Go API is still marked unstable, so wrap it behind your own interface in serious services.
gokm: Linux kernel modules in Go via TinyGo
Linux kernel modules are normally written in C or Rust because Go's standard runtime is too heavy. Jesús Espino took a different route with gokm (GitHub), using a custom TinyGo target (tested on 0.43.0) and the kernel's kbuild system with retpolines, IBT, soft-float, and stack-depth checks.
Inside the compiled .ko module (x86-64), goroutines run as kernel threads alongside channels, select, sync, fmt, maps, defer/recover, floats, and a garbage-collected heap. gokm/linux reads the kernel's embedded BTF (BPF Type Format—a live map of structs and functions in the running vmlinux) to generate bindings automatically, with wrappers for fs, chardev, procfs, netdev, and blk.
package main
import "gokm/kernel"
// Runs when the module loads via insmod
func main() {
kernel.Print("hello from Go!")
kernel.OnExit(func() {
kernel.Print("goodbye from Go!")
})
}
The author explicitly warns that the project is experimental and not for production, since any bug crashes the entire kernel. The tool itself is MIT-licensed, while the embedded C runtime uses GPL-only kernel symbols and falls under GPL-2.0.
tabc: running OCI containers inside browser tabs
Standard OCI runtimes like runc rely on Linux namespaces, forcing macOS users to run a separate Linux VM. Farid Zakaria's tabc (repo, MIT) runs each container in its own headless Chromium tab on top of unkernel—a Linux kernel compiled to WebAssembly. The browser sandbox handles isolation, and a built-in mini-daemon tocker can even run compose up with a single-page service dashboard.
# On macOS without a Linux VM or Docker Desktop (--open opens the tab)
tabc run -it --open -p 8123:80 nginx:alpine sh
# Plug into Docker on Linux as an OCI runtime
docker run --rm --runtime tabc --platform linux/arm64 \
alpine uname -sm
Cold-starting echo hi in Alpine on a Ryzen 7 7840U takes ~0.87 seconds, mostly spent launching Chromium (removed by --open and --link). WASM emulation is too slow for heavy CPU workloads, yet it's a neat fit for VM-free local experiments.
errortype v0.0.12: a linter against value vs. pointer error mix-ups
In Go, an error value E and a pointer *E are distinct types for errors.As and errors.AsType. Passing a value into fmt.Errorf with %w when Unwrap() has a pointer receiver is like swiping a photocopy of an ID badge at a turnstile: the code compiles, but the errors.Is chain silently breaks.
The errortype v0.0.12 linter (repo, Apache-2.0) catches these mismatches and validates %w operands. -receivers prepares code ahead of the new go vet in Go 1.27+, -naming with -fix enforces standard names (ErrX / XError) with //go:fix inline directives for go fix ./..., and -legacy rewrites old err.(*NotFoundError) assertions to errors.AsType.
# Check before upgrading to Go 1.27
errortype -recommended ./...
# Preview auto-fixes for names and legacy assertions
errortype -naming -legacy -fix -diff ./...
It runs in seconds in CI and catches subtle bugs that almost always slip past code review—ready for production repositories.
Expr 1.18: updating Go's expression engine
If your service evaluates user-defined rules or filters, check out Expr v1.18.0 (repo, 8,077 stars, MIT). This release closes two DoS vectors: expression nesting is capped at 10,000 levels at compile time, and MemoryBudget now tracks string concatenation and string functions (repeat, replace, join, split, toJSON, toBase64). It also adds merge(), log2(), optional chaining for slices (foo?.[0:1]), field access behind interfaces, DisableBuiltin("$env"), and 15+ bug fixes including NaN/Inf panics.
// Slice optional chaining, disabled $env, and a 2 MB memory limit
program, err := expr.Compile(
`foo?.[0:1]`,
expr.DisableBuiltin("$env"),
expr.MemoryBudget(2*1024*1024),
)
When upgrading, watch three details: strings over 1 MB may hit the default MemoryBudget, DisableAllBuiltins() now disables predicates (all, filter, map, reduce) too, and custom Safe functions now take the remaining budget as their first argument: func(budget uint, args ...any) (any, uint, error).

