METABYTE
Back to articles

πFS: Store Your Data in Pi — Infinite Space, Abysmal Speed

A new filesystem project πFS proposes storing data in the digits of pi — infinite storage with one tiny catch: read performance.

11 iunie 20262 min read
πFS: Store Your Data in Pi — Infinite Space, Abysmal Speed

Sometimes developers get bored and invent things that make the rest of us scratch our heads. Meet πFS — a filesystem that stores your data right in the decimal representation of pi. Yes, that 3.1415926535…

The idea is simple and crazy: since pi is irrational, its digits never repeat and never end. Theoretically, any sequence of bytes will eventually appear in its infinite expansion. πFS finds the position where your data "already exists" and saves only the offset and length. Storage size — infinite, but speed…

How it works (spoiler: slowly)

  • You feed a file, the system converts it to digits.
  • It searches for that combination in a precomputed database of pi digits (currently 10 billion decimals available).
  • If found — a reference is saved: start position and length.
  • If not — data is appended to the tail, but that's no longer pure pi.

Practical utility approaches zero: to find 1 megabyte of data, you'd need to scan through gigabytes of digits. It's like searching for a needle in a haystack that keeps growing. But it's philosophically beautiful: your files are forever inscribed in the foundation of mathematics.

METABYTE studio comment If your production system is slower than searching data in pi, you haven't tried real thrill yet. We're all for reliable solutions, but for the idea — standing ovation.

NEXT STEP

Liked the approach?

We apply the same principles to client projects: AI, automation, products that don't die after launch.