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
1•EDBC_REPO•2h ago

Comments

EDBC_REPO•2h 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.

GitHub Copilot Goldeneye model preview

https://docs.github.com/en/copilot/reference/ai-models/model-hosting
1•amusingimpala75•1m ago•1 comments

Superorganism AI

1•kaungsetlin•3m ago•0 comments

LexisNexis confirms data breach as hackers leak stolen files

https://www.bleepingcomputer.com/news/security/lexisnexis-confirms-data-breach-as-hackers-leak-st...
1•arkadiyt•4m ago•0 comments

Morgan Stanley Lays Off 2,500 Employees Across All Divisions

https://www.wsj.com/finance/banking/morgan-stanley-lays-off-2-500-employees-across-all-divisions-...
1•LostMyLogin•6m ago•0 comments

Learn Fundamentals, Not Frameworks

https://newsletter.techworld-with-milan.com/p/learn-fundamentals-not-frameworks
1•stosssik•7m ago•0 comments

Brainworm – Hiding in Your Context Window

https://www.originhq.com/blog/brainworm
1•dsr12•7m ago•0 comments

How does AI change Software Engineering?

https://dlants.me/ai-se.html
1•todsacerdoti•9m ago•0 comments

Iran says targeted AWS Data Centers for support of U.S. military

https://www.cnbc.com/2026/03/04/amazon-bahrain-data-centers-targeted-iran-drone-strike.html
4•johnbarron•10m ago•1 comments

Iran threatens Dimona nuclear site if Israel, US seek to topple Islamic Republic

https://www.timesofisrael.com/liveblog-march-05-2026/
2•johnbarron•11m ago•0 comments

Vibecheck – learn what you build while vibe-coding. A reality check

https://github.com/akshan-main/vibe-check/README.md
1•frutigeraerosol•12m ago•1 comments

Anthropic Reopens Talks with Pentagon

https://www.bloomberg.com/news/articles/2026-03-05/anthropic-s-amodei-reopens-ai-discussions-with...
1•cmrdporcupine•14m ago•0 comments

The L in "LLM" Stands for Lying

https://acko.net/blog/the-l-in-llm-stands-for-lying/
1•LorenDB•15m ago•0 comments

Show HN: Jobbi – Free AI resume tailoring with unlimited PDF exports

https://jobbi.app
1•djrnz•16m ago•0 comments

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

https://poppy-connection-keeper.netlify.app/
1•mahirhiro•21m ago•0 comments

Franken Style: a nobuild CSS framework inspired by tailwind and Shadcn

https://franken.style/
1•yashasolutions•21m ago•1 comments

BM25

https://arpitbhayani.me/blogs/bm25/
2•arpitbbhayani•22m ago•1 comments

Ask HN: MacBook or ThinkPad for Compsci

1•helloworlddd•26m ago•2 comments

Show HN: Textideo – Generate video, audio, and 3D assets in one timeline

https://textideo.com/image-to-3d
1•Nancylily•26m ago•1 comments

A new way of editing videos

https://kudoflix.com/
1•mandrixx•31m ago•0 comments

China Tells Top Refiners to Suspend Diesel and Gasoline Exports

https://www.bloomberg.com/news/articles/2026-03-05/china-tells-top-refiners-to-suspend-diesel-and...
3•toomuchtodo•34m ago•0 comments

Home Made GPS Receiver

http://www.aholme.co.uk/GPS/Main.htm
2•jacquesm•35m ago•0 comments

Sound and Silence: What made Alexander Graham Bell invent the telephone? (1998)

https://www.newyorker.com/magazine/1998/04/13/sound-and-silence
1•mitchbob•36m ago•1 comments

TerraPower gets OK to start construction of its first nuclear plant

https://arstechnica.com/science/2026/03/terrapower-gets-ok-to-start-construction-of-its-first-nuc...
1•krunck•39m ago•0 comments

Agentic Engineering Anti Patterns

https://simonwillison.net/guides/agentic-engineering-patterns/anti-patterns/
2•pchristensen•41m ago•3 comments

Show HN: Magpie – Fight AI sycophancy in code review with multi-model debate

https://github.com/liliu-z/magpie
1•leo_e•43m ago•0 comments

Terminal Graphics Protocol

https://sw.kovidgoyal.net/kitty/graphics-protocol/
1•vinhnx•43m ago•0 comments

LLM Prose Tells

https://git.eeqj.de/sneak/prompts/src/branch/main/prompts/LLM_PROSE_TELLS.md
2•dougb5•44m ago•0 comments

Biosciences breeds controversy while trying to revive mammoths

https://www.npr.org/2026/03/04/nx-s1-5704318/colossal-woolly-mammoth-dire-wolf
4•andsoitis•45m ago•1 comments

Las Vegas hotels begin taking foreign currency as tourism woes deepen

https://www.sfgate.com/travel/article/vegas-foreign-currency-21955655.php
3•c420•50m ago•0 comments

Building Claude Code with Boris Cherny

https://newsletter.pragmaticengineer.com/p/building-claude-code-with-boris-cherny
1•vinhnx•54m ago•0 comments