Skip to content
프로젝트

소개

C++로 안정적인 비동기 애플리케이션을 개발하기 위한 런타임입니다. I/O, 네트워킹, 스케줄링, 타이머 등을 제공합니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Nodepp: An Asynchronous Runtime for C++

MIT License Platform Build Status Valgrind Memory Test XERJ Corpus Hub contributor

Nodepp is an asynchronous C++ runtime that unifies application development under a single syntax, a single codebase, and a single execution model. It starts from a simple premise: you don't need a different language for every layer of your application. The same code that runs on a Linux server can run in a browser via WASM, on an ESP32, or on an Arduino Nano — without changes.

The inspiration doesn't come from a modern framework, but from Doom. Doom wasn't revolutionary for its graphics, but for its portability: it ran on hardware nobody imagined because its design didn't depend on a specific platform. That same philosophy guided Nodepp — a runtime so universal it runs on anything with a C++11 compiler, from 2KB of RAM to 64 cores. It's not a framework tied to an ecosystem. It's a runtime that adapts to the hardware, not the other way around.

Most runtimes grow until they can't be understood. Nodepp went the other direction. ~3,800 lines for the entire core. 2KB for the binary. 0% CPU when idle. No STL, no exceptions, no RTTI — not because they're bad, but because they aren't necessary. The result is a runtime small enough to fit on any controller and simple enough to audit completely. Nothing to trust. Nothing to hide.

Featured Projects

Enigma Machine - Arduino Nano: A fully functional Enigma machine running on 2KB of RAM.

https://github.com/user-attachments/assets/9b870671-3854-444f-893d-40fdce31a629

Spacesus.io: Fullstack P2P multiplayer game built on Nodepp, WebRTC, and Raylib.

https://github.com/user-attachments/assets/a8b4d56d-0291-4aa8-98e6-926116215f8f

Benchmarks

Metric Bun (v1.3.5) Go (v1.18.1) Nodepp (v1.4.0)
Req / Second 5,985.74 6,139.41 6,851.33
Memory (RSS) 69.5 MB 14.1 MB 2.9 MB
Max Latency 1,452 ms 326 ms 245 ms
p99 Latency 1,159 ms 249 ms 187 ms
CPU Usage 98.7% 99.3% 100.0%

Benchmark on Chromebook Apollo Lake, 1000 concurrent connections. View full benchmarks

Quick Start

#include <nodepp/nodepp.h>
#include <nodepp/worker.h>
#include <nodepp/http.h>

using namespace nodepp;

void onParallel() {

    auto server = http::server([]( http_t cli ){
         cli.write_header( 200, header_t({}) );
         cli.write( "hello world" );
    });

    server.listen( "0.0.0.0", 8000 );
    console::log( "http://localhost:8000" );

}

void onMain(){ worker::parallel( &onParallel, os::cpus() ); }

Ecosystem

Module Description
ExpressPP Express-style HTTP server
ApifyPP 64-byte RPC
Nodepp-Redis Redis client
Nodepp-SQLite SQLite client
Nodepp-Argon2 Password hashing

Platforms

Platform status
Linux ✅
Windows ✅
macOS ✅
WASM (browser) ✅
ESP32 ✅
Arduino ✅

License

MIT. Use it anywhere.

관련 프로젝트 살펴보기

불러오는 중…