⚡ Offline-first · Peer-to-peer · Ultra-fast C++ runtime
⭐ If this vision resonates with you, consider starring the project.
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.
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.
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.
Vix.cpp is designed to remove overhead, unpredictability, and GC pauses.
| 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 |
#include <vix.hpp>
int main() {
Vix::App app;
app.get("/", [](auto&, auto& res){
res.send("Hello from Vix.cpp 🚀");
});
app.run(8080);
}vix run main.cpp
vix dev main.cpp- Introduction
- Quick Start
- Architecture & Modules
- ORM Overview
- Benchmarks
- Examples
- Build & Installation
- CLI Options
- CLI Reference
- Core : docs/modules/core.md
- WebSocket : docs/modules/websocket.md
- ORM : docs/modules/orm.md
- JSON : docs/modules/json.md
- Utils : docs/modules/utils.md
- CLI : docs/modules/cli.md
If you believe in modern C++ tooling, offline-first systems, and native performance, please consider starring the repository.
MIT License
