r/DistributedComputing

Walks the full cmd/compile pipeline in order: package names, data structures, and the SSA construction that drives inlining, escape analysis, bounds-check elimination, and register allocation, with flags to observe each phase directly.
▲ 132 r/DistributedComputing+17 crossposts

Walks the full cmd/compile pipeline in order: package names, data structures, and the SSA construction that drives inlining, escape analysis, bounds-check elimination, and register allocation, with flags to observe each phase directly.

This one took a while, it's probably the longest thing I've written on this blog. I wanted to do a proper end-to-end walkthrough of cmd/compile: real package names, real data structures, diagrams for the AST and SSA CFG, and the flags you actually need (-m, -m=2, GOSSAFUNC, -S) to observe each phase yourself rather than just take my word for it.

Covers the full pipeline: lexer → parser → type checker → IR lowering → SSA construction → optimization passes (inlining, escape analysis, BCE, nil check elimination, register allocation) → architecture-specific code emission.

Hope it's useful — happy to answer questions or push back on anything that looks wrong.

blog.gaborkoos.com
u/OtherwisePush6424 — 5 days ago
▲ 6 r/DistributedComputing+5 crossposts

(Re) Introducing Stoffel, Your Private by Design Teammate

We've finally launched the very first version of the Stoffel stack, Stoffel 0.1.0.

The team at Stoffel Labs has spent the past year, building an MPC runtime stack from scratched focused on making it easier for developers to integrate privacy into their apps without sacrificing their growth.

Let us know how it goes. Any feedback is appreciated.

stoffelmpc.com
u/badcryptobitch — 8 days ago

Let’s build a big fat community supercomputer! For science!

I made ce-net - a wasm based supercomputer available to everyone - as long as you donate!
ce-net.com

u/leifrydenfalk — 11 days ago