|
A modern runtime for building C++ applications. |
curl -fsSL https://vixcpp.com/install.sh | bashirm https://vixcpp.com/install.ps1 | iex#include <iostream>
int main(){
std::cout << "Hello, world!" << std::endl;
}vix run main.cppDone.
#include <vix.hpp>
using namespace vix;
int main(){
App app;
app.get("/", [](Request&, Response& res){
res.send("Hello, world!");
});
app.run(8080);
}vix run server.cppvix install -g cnerium/app#include <cnerium/app/app.hpp>
using namespace cnerium::app;
int main(){
App app;
app.get("/", [](AppContext &ctx){
ctx.text("Hello from Cnerium");
});
app.listen("127.0.0.1", 8080);
}vix run main.cpp#include <memory>
#include <vix/executor/RuntimeExecutor.hpp>
#include <vix/websocket.hpp>
int main(){
auto exec = std::make_shared<vix::executor::RuntimeExecutor>();
vix::websocket::App app{"config/config.json", exec};
auto &ws = app.server();
ws.on_typed_message([](auto &,
const std::string &type,
const vix::json::kvs &payload)
{
if (type == "chat.message")
return payload;
});
app.run_blocking();
}- Run a single
.cppfile instantly - No CMake required for simple apps
- Native C++ performance
- HTTP, WebSocket, P2P ready
- Offline-first architecture support
- Deterministic execution
C++ is powerful.
But:
- too much setup
- too much friction
- too slow to start
Vix removes that.
Stable under sustained load.
| Metric | Value |
|---|---|
| Requests/sec | ~66k – 68k |
| Avg Latency | ~13–20 ms |
| P99 Latency | ~17–50 ms |
- Docs: https://vixcpp.com/docs
- Registry: https://vixcpp.com/registry
- Examples: https://vixcpp.com/docs/examples
Contributions are welcome.
- performance
- reliability
- networking
- offline-first systems
MIT License
