Split view of two panels on a concrete wall under a bare bulb: unlabeled glass fuses and tangled leads on the left, named breakers and a schematic on the right

Ban From on your Rust Error Variants

The ? early return that made the function look clean and nice is the line you cannot find when the alert hits your after eight hours of working on something else.

Solana logo and wordmark on a light background

Thinking in Solana

Accounts, Programs, ownership, Sealevel; the Solana building blocks that unlock your thinking about real-world use cases and applicability.

Balance scale with a large rock on one side and a small pebble on the other — the real cost of removing indirection outweighs the negligible call overhead.

The Cost of Indirection in Rust

Removing an indirection is a false optimization. You don’t think so? Let’s take a look.