frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Nodepp – A C++ runtime for scripting at bare-metal speed

https://github.com/NodeppOfficial/nodepp
2•EDBC_REPO•4h ago

Comments

EDBC_REPO•4h ago
Hi! I'm Enmanuel D. Becerra C. I'm an electrical engineer and a self taught programmer. For the past decade, I’ve been jumping between embedded systems (IoT, PLC), Frontend, Backend, and Shaders (OpenGL).

If you’ve ever worked on projects connecting hardware to the cloud and WebAssembly, you know the "Fragmentation Tax": you have to reimplement the same business logic three times, on ESP32 using C++, JS for the dashboard, Go/Node for the server, all while juggling three completely different mental models.

Three years ago, I asked myself: Is it possible to create a framework that is like DOOM? ( If it’s a potato with a screen, it should run the code, right? ).

That’s why Nodepp was born: a C++ runtime designed for Silicon-Logic Parity. You write asynchronous code with the ergonomics of Node.js, but compile directly to native binary for an Arduino UNO (8-bit), an ESP32, WASM, or a 128-core Xeon server.

----------------------------------------------------------------------------------------

# What makes it different? (No "Voodoo Engineering")

- ptr_t (Deterministic RAII): A hybrid memory controller that manages SSO (Small Stack Optimization) and atomic reference counting (configurable for maximum throughput). Memory is reclaimed the microsecond the callback finishes. No Garbage Collector, no "Stop-the-World" spikes, 100% deterministic.

- kernel_t (Metal-Agnostic Reactor): A unified abstraction over Epoll, Kqueue, and IOCP. If the hardware doesn't support them (e.g., Arduino UNO), Nodepp uses an optimized loop that puts the CPU in active sleep to maximize battery life.

- coroutine_t (Stackless Coroutines): Cooperative multitasking based on state machines that allows for 100,000 concurrent tasks in a surgical 59MB RAM footprint.

----------------------------------------------------------------------------------------

# The "Potato" Benchmark

We didn't use a supercomputer to inflate the numbers. We tested Nodepp on an educational-grade Dual-Core Apollo Lake Chromebook:

> Result: 6,851 RPS with only 2.9MB of physical RAM. Outperforming Bun and Go in resource density while achieving a near 1:1 VIRT/RSS ratio.

----------------------------------------------------------------------------------------

# Proof of Concept: Enigma on an Arduino Nano

Nodepp is so lightweight that I implemented a functional Enigma Machine on an Arduino Nano (2KB RAM / 16KB ROM), handling an LCD 16x2 screen and a QWERTY keyboard with async logic and physical buttons to modify the rotor states.

> Demo: https://wokwi.com/projects/449104127751150593

----------------------------------------------------------------------------------------

# Current Limitations (Constructive Friction):

I'll be honest, Nodepp is still growing:

- Ecosystem: Integration with standard C++ libraries that use blocking I/O requires non-blocking wrappers.

- Protocols: Support for HTTP/2/3 and Keep-Alive is on the immediate roadmap.

- Evolution: We are currently working on io_uring support to take Linux performance to the next level.

----------------------------------------------------------------------------------------

# One Codebase, Every Platform:

The exact same logic that processes JSON in the cloud manages your microcontroller's registers and modifies the DOM on your webpage, using just one codebase and one mental model.

- Whitepaper: https://nodeppofficial.github.io/nodepp-doc/whitepaper

- Repo: https://github.com/NodeppOfficial/nodepp

I would love to hear your technical feedback, especially regarding the ptr_t memory model and the reactor's efficiency.

Show HN: Poppy – a simple app to stay intentional with relationships

https://poppy-connection-keeper.netlify.app/
56•mahirhiro•2h ago•14 comments

Show HN: Fast Chladni figure simulation in Python with NumPy vectorization

https://github.com/ratwolfzero/Chladni_Figures
4•ratwolf•2h ago•1 comments

Show HN: Vertex.js – A 1kloc SPA Framework

https://lukeb42.github.io/vertex-manual.html
42•LukeB42•3d ago•23 comments

Show HN: Stacked Game of Life

https://stacked-game-of-life.koenvangilst.nl/
178•vnglst•4d ago•26 comments

Show HN: A shell-native cd-compatible directory jumper using power-law frecency

https://github.com/jghub/sd-switchdir
18•jghub•20h ago•3 comments

Show HN: A GFM+GF-MathJax/Latex HTML formatting adventure

https://github.com/scottvr/phart/blob/main/docs/GHM-LATEX.md
3•ycombiredd•4d ago•0 comments

Show HN: Rust compiler in PHP emitting x86-64 executables

https://github.com/mrconter1/rustc-php
60•mrconter11•3d ago•48 comments

Show HN: Open dataset of real-world LLM performance on Apple Silicon

https://devpadapp.com/anubis-oss.html
2•uncSoft•4h ago•1 comments

Show HN: I made a zero-copy coroutine tracer to find my scheduler's lost wakeups

https://github.com/lixiasky-back/coroTracer
42•lixiasky•1d ago•2 comments

Show HN: Shinobi – 10-second security scanner for developers

https://github.com/AkrijSama/Shinobi
2•SolidDark•4h ago•0 comments

Show HN: Nodepp – A C++ runtime for scripting at bare-metal speed

https://github.com/NodeppOfficial/nodepp
2•EDBC_REPO•4h ago•1 comments

Show HN: DJ Claude – 6 Claude Codes in a jam band

https://www.loom.com/share/84dbe5de42f745ba98fe9495dc61fa2e
3•p-poss•5h ago•0 comments

Show HN: Qlog – grep for logs, but 100x faster

https://github.com/Cosm00/qlog
13•cosm00•10h ago•16 comments

Show HN: I put HN discussions next to the article where it belongs

https://cool-link-web-production.up.railway.app/l/blogabout
8•krenerd•14h ago•0 comments

Show HN: I built CLI for developer docs locally working with any Coding Agent

https://github.com/lifez/docsearch
2•lifez•7h ago•1 comments

Show HN: Potatoverse, home for your vibecoded apps

https://github.com/blue-monads/potatoverse
6•born-jre•7h ago•1 comments

Show HN: A universal protocol for AI agents to interact with any desktop UI

https://github.com/computeruseprotocol/computeruseprotocol
3•k4cper-g•7h ago•0 comments

Show HN: Paste a URL and watch multiple AI models redesign it side-by-side

https://shuffle.dev/ai-website-redesign
3•kemyd•7h ago•0 comments

Show HN: I built a browser game where you compete against OpenAI, Anthropic, etc

https://thefrontier.pages.dev
3•adityapatni•8h ago•0 comments

Show HN: I built a sub-500ms latency voice agent from scratch

https://www.ntik.me/posts/voice-agent
562•nicktikhonov•2d ago•152 comments

Show HN: Athena Flow – a workflow runtime for Claude Code with a terminal UI

2•nadeem1•9h ago•0 comments

Show HN: Open-sourced a web client that lets any device use Apple's on-device AI

https://github.com/Techopolis/perspective-intelligence-web-community
10•tayarndt•16h ago•1 comments

Show HN: Gobble – Yet Another OSS Alternative to Google Analytics/PostHog, etc.

https://github.com/inventhq/Gobble
2•vishinvents•9h ago•1 comments

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
204•kossisoroyce•3d ago•33 comments

Show HN: I built a tamper-evident evidence system for AI agents

https://guardianreplay.pages.dev/
2•Slaine•9h ago•2 comments

Show HN: Omni – Open-source workplace search and chat, built on Postgres

https://github.com/getomnico/omni
172•prvnsmpth•2d ago•42 comments

Show HN: Effective Git

https://github.com/nolasoft/okgit
35•nola-a•3d ago•6 comments

Show HN: WooTTY - browser terminal in a single Go binary

https://github.com/icoretech/wootty
3•masterkain•11h ago•2 comments

Show HN: Pianoterm – Run shell commands from your Piano. A Linux CLI tool

https://github.com/vustagc/pianoterm
61•vustagc•2d ago•21 comments

Show HN: Open-Source Article 12 Logging Infrastructure for the EU AI Act

42•systima•1d ago•6 comments