Skip to content
/ vix Public

⚡ Vix a C++20 runtime for offline-first, P2P and high-performance applications. Local-first execution, Asio-powered async I/O, modular architecture.

License

Notifications You must be signed in to change notification settings

vixcpp/vix

Vix.cpp

Vix.cpp Banner

Vix.cpp

⚡ Offline-first · Peer-to-peer · Ultra-fast C++ runtime

⭐ If this vision resonates with you, consider starring the project.


What is Vix.cpp?

Vix.cpp is a modern C++ runtime designed as a serious alternative to Node.js, Deno, and Bun but engineered from day one for:

  • unstable networks
  • offline-first environments
  • peer-to-peer systems
  • extreme native performance

Run applications like Node/Deno/Bun with C++ speed, control, and predictability.

Vix is not just a backend framework.
It is a runtime layer for real-world distributed systems.


Who is Vix.cpp for?

Vix.cpp is built for developers who:

  • Build backend systems in modern C++
  • Need predictable performance (no GC pauses)
  • Target offline-first or unreliable networks
  • Work on edge, local, or P2P systems
  • Want a Node/Deno-like DX, but native

If you’ve ever thought “I wish Node was faster and more reliable” Vix is for you.


Why Vix exists

Most modern runtimes assume:

  • stable internet
  • cloud-first infrastructure
  • predictable latency
  • always-online connectivity

That is not reality for much of the world.

Vix.cpp is built for real conditions first.


Performance is not a feature it’s a requirement

Vix.cpp is designed to remove overhead, unpredictability, and GC pauses.

⚡ Benchmarks (Dec 2025)

Framework Requests/sec Avg Latency
Vix.cpp (pinned CPU) ~99,000 7–10 ms
Vix.cpp (default) ~81,400 9–11 ms
Go (Fiber) ~81,300 ~0.6 ms
Deno ~48,800 ~16 ms
Node.js (Fastify) ~4,200 ~16 ms
PHP (Slim) ~2,800 ~17 ms
FastAPI (Python) ~750 ~64 ms

It really is this simple

#include <vix.hpp>

int main() {
    Vix::App app;

    app.get("/", [](auto&, auto& res){
        res.send("Hello from Vix.cpp 🚀");
    });

    app.run(8080);
}

Script mode Run C++ like a script

vix run main.cpp
vix dev main.cpp

Documentation

Module Documentation Index


⭐ Support the project

If you believe in modern C++ tooling, offline-first systems, and native performance, please consider starring the repository.

MIT License