Finorys’ Deepest Project: FFC
Very few people know about it today.
One day everyone will feel it.
Deep inside Finorys, a tiny team has been quietly working on something for years.
Its name is simple: FFC — Finorys Foundation Code.
It doesn’t look like just another programming language.
It is an attempt to run an entire company from a single file.
Right now the platform is powered by more than 1.8 million lines of mixed C++, Rust, Go, Julia, Python, and Java.
Every new feature means multiple repositories, multiple teams, and weeks of painful deployments.
We decided to end that chaos — slowly, deliberately, forever.
Our goal is crystal-clear and deliberately far away:
One day in the not-too-distant future,
the whole Finorys platform — from sub-60 ns matching engines to the L1 chain, from real-time risk clusters to tens of millions of WebSocket connections —
will be born from exactly one source file.
That file already has a name: heartbeat.ffc
From that single file the compiler will simultaneously produce:
- C++ binaries that execute trades in ~60 nanoseconds
- ultra-small, highly optimised WASM smart contracts
- Go services that handle tens of millions of concurrent connections
- CUDA kernels that scan millions of wallets in milliseconds
- Banking integrations, regulatory reports, AI scoring models… everything.
All from the same commit.
All deployed with one click.
All in perfect lockstep.
Today the project is still in its infancy.
Only a small pilot is running on testnet.
Yet we have already written over 35 000 lines of FFC and started burying large parts of the old codebase.
The plan is calm, patient and completely realistic:
- Over the next few years we will migrate only the matching engines
- Then the risk and liquidation layers will follow
- Then the gateway and scaling infrastructure
- And finally the banking, compliance and AI systems.
One day, when the time is right,
all the old repositories will be silently archived.
Nothing will remain except one file: heartbeat.ffc
This language will never be open-sourced.
Its compiler will never run outside our walls.
Nobody will ever see the source code.
But everyone will see the results:
- Lower latency
- Cheaper fees
- Near-zero downtime
- A level of stability competitors won’t be able to explain
When that day comes, no one will figure out how we did it.
Because the answer will be only three letters:
FFC
Right now almost nobody knows.
One day everyone will feel the difference.
We are writing it in silence.
We are building it slowly and solidly.
Finorys Labs
Everything below is real, running in production today, and fully cleared for public release.
FFC (Finorys Foundation Code) is our internal, closed-source, Finorys-only programming language. By the end of 2029 it will be the single source from which the entire platform is born: sub-80 ns matching engines, the L1 chain, GPU risk clusters, and ten-million-user WebSocket gateways, all from one file called heartbeat.ffc (≈220–240 k lines).
The compiler is written in Rust with lalrpop, lives exclusively in our private CI/CD, and will never leave our premises.
As of today, we have 38 400 lines of FFC running live in production, and they have already replaced roughly 380 000 lines of legacy C++, Rust, Go, and Julia code. We perform 180+ successful FFC builds every day, and our fastest matching binary consistently hits 64 ns tick-to-trade on bare-metal AVX-512 boxes.
The language is completely attribute-driven. The current and soon-to-come core attributes are:
- @matching_engine → heavily optimised C++23 + AVX-512 (94 % complete)
- @validator and @onchain → memory-safe Rust compiled to tiny WASM contracts (72 % complete)
- @gateway → Go 1.24 binaries that already handle 7–12 million concurrent WebSockets (88 % complete)
- @risk_gpu → Julia + direct CUDA kernels, scanning 1.5 million wallets in under 180 ms in FP16 (61 % complete)
- @enterprise (2028) → will swallow the current Java 21 banking and reporting stack
- @ai_model (2028) → will absorb every Python/Torch behavioural model
FFC makes monetary units (wei, gwei, eth, usd, usdc, usdt), tick, basis_point (just write 5.bps), orderbook, and position first-class types with automatic conversion between them.
Compilation is deliberately closed-door: the source is parsed, attributes are resolved, a high-level IR is built, six backends run aggressive target-specific optimisations in parallel, and the resulting binaries are pushed straight to the exact nodes they must run on. Once the new component is proven stable, the old polyglot service is terminated forever — zero downtime, zero regression.
Planned language extensions include
@storage in 2026,
@oracle in 2027, and
@regulatory in 2028.
By the end of 2029 the current 1.8 million lines of polyglot code will live in a single file of 220–240 thousand lines — and nothing else.
FFC will never be open-sourced.
Its compiler will never run outside our walls.
Its source will never be shown.
But by 2029 everyone will feel it.
Because the whole of Finorys will run on a single heartbeat.
