Someone asked why xAI rebuilt Grok's RL and inference stack in C/C++ while Claude and GPT run on PyTorch and Gemini on JAX.
Elon's answer: "You'll see."
Here's my guess at what we'll see.
Going closer to bare metal isn't only about speed. It may be the first step toward fusing Grok's architecture into silicon.
C/C++ isn't just for software. Through high-level synthesis (HLS), suitable C/C++ code can be turned into hardware designs that become physical transistor circuits.
Imagine hardwiring Grok's most demanding operations (dataflows, attention, memory pathways) into the chip itself, while the weights stay programmable so Grok keeps learning without a chip redesign.
Instead of a GPU running thousands of software instructions, dedicated circuits do the math directly:
1. Lower latency
2. Higher throughput
3. Less energy spent moving data
4. Better performance per watt
The usual catch with model-specific chips is that models change faster than chips can be redesigned.
Terafab could close that gap:
Grok model → C/C++ synthesis → chip design → Terafab → Grok deployment → next model
Models and chips evolving together, with each Grok generation shaping the next generation of silicon.
The ultimate vertical integration isn't just owning the models, the chips and the fab.
It's erasing the boundaries between them.
Grok doesn't just run on the chip. The chip becomes Grok.