TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24429 19
Exploring an offline-first and P2P-oriented runtime design in C++20

I’ve been exploring some runtime design ideas in C++20, mostly around problems that appear in unreliable or unstable network environments.

The main concepts I’m experimenting with are:

offline-first execution (local-first state, fallback mode)
P2P communication between nodes
lightweight async HTTP handling
WebSocket-based messaging
a small middleware pipeline
a modular runtime structure instead of a large monolithic framework

I’m mostly curious about whether others in the C++ community have experimented with similar approaches (local-first systems, edge runtimes, distributed execution without strong cloud dependence).

If anyone has insights, prior work, design critiques, or papers worth reading, I would be glad to learn from them.

https://redd.it/1peppj9
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 11, 2026VKRT NES Remaster — an open-source C++20 NES emulator with an observation-driven remasteri…
  2. Oct 11, 2026Right way to test async code https://redd.it/1x2wqgz @r_cpp
  3. Oct 10, 2026Yantra: an LALR(1) parser generator for C++23 Yantra: an LALR(1) parser generator for C++2…
  4. Oct 10, 2026Opting in, and back out again https://dryperspective.github.io/posts/opting-in/ https://re…
  5. Oct 10, 2026I’m Building Bursztyn OS a Polish Operating System From Scratch I’m building Bursztyn OS,…
  6. Oct 9, 2026std::variant, operator== and pattern matching I was thinking, wouldn't adding equality com…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →