Skip to lesson
Exit
Coding & Engineering Craft: TS, Rust, Python on the Hot Path1 / 2

1 min lesson

Rust and Python in their lanes

Work through the cases in "Rust and Python in their lanes", pairing each signal with the move that fits.

Step 1 of 2

Rust and Python in their lanesknow the edges

Rust on the hot path

Reach for it when GC pauses or per-request allocations would blow a p99 budget.

Be ready to talk ownership, borrowing and ? on Result - and to admit when its complexity isn't worth it.

Python for eval, not serving

Great for routing experiments, offline analysis and eval scripts.

The GIL makes it a poor fit for a CPU-bound, high-concurrency serving path - say so unprompted.

Interview move

When you state your language, anchor it to the path: “I'll use TypeScript - it's where the gateway logic lives and I want the provider union modeled so a new model is a config change, not a code change.” That single sentence shows you know the codebase shape, not just the syntax.