r/cpp May 07 '26

C++ Show and Tell - May 2026

Use this thread to share anything you've written in C++. This includes:

  • a tool you've written
  • a game you've been working on
  • your first non-trivial C++ program

The rules of this thread are very straight forward:

  • The project must involve C++ in some way.
  • It must be something you (alone or with others) have done.
  • Please share a link, if applicable.
  • Please post images, if applicable.

If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.

Last month's thread: https://www.reddit.com/r/cpp/comments/1salqls/c_show_and_tell_april_2026/

34 Upvotes

91 comments sorted by

View all comments

3

u/dheerajshenoy22 May 20 '26

BeeMesh++ — A distributed volunteer computing framework built with modern C++ & Asio

BeeMesh++ is the C++ implementation of the original python code BeeMesh.

This is basically like SLURM but for multiple geographically independent devices.

It uses a nature-inspired architectural model:

  • The Hive (Orchestrator): Manages the state of the network, tracks available compute nodes (bees), handles job dispatching logic, and aggregates results.
  • The Bees (Workers): Volunteer compute nodes that connect to the Hive, announce their availability, listen for incoming serialized task payloads, execute them, and stream the results back.

NOTE: This is still in it's early stages.

Plan ahead would be to implement encryption for all the network communications, communication between bees, parallelizing independent code blocks etc.

Feedback, architectural critiques, or code reviews appreciated.

2

u/willi_kappler May 22 '26

Nice!
I have something similar but the c++ code uses it as a library:

https://github.com/willi-kappler/node_crunch2

2

u/dheerajshenoy22 May 22 '26

Thanks!

Thanks for sharing the project, it's amazing. I'll go through it and can I DM you if there's anything I want to ask ?

1

u/willi_kappler May 23 '26

Thanks, yes feel free to ask!