{"id":16759677,"url":"https://github.com/lnk2past/toadofsky","last_synced_at":"2025-03-16T08:40:26.420Z","repository":{"id":230445490,"uuid":"778886904","full_name":"Lnk2past/toadofsky","owner":"Lnk2past","description":"educational toy project for multithreaded orchestration + pubsub","archived":false,"fork":false,"pushed_at":"2025-01-20T18:34:18.000Z","size":272,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T19:33:16.526Z","etag":null,"topics":["cpp","cpp20","multithreading","orchestration","pubsub"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lnk2past.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T15:50:41.000Z","updated_at":"2025-01-20T18:33:50.000Z","dependencies_parsed_at":"2024-11-20T07:23:36.950Z","dependency_job_id":"867acfbd-41e0-4328-8f59-1a196112c7b4","html_url":"https://github.com/Lnk2past/toadofsky","commit_stats":null,"previous_names":["lnk2past/toadofsky"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lnk2past%2Ftoadofsky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lnk2past%2Ftoadofsky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lnk2past%2Ftoadofsky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lnk2past%2Ftoadofsky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lnk2past","download_url":"https://codeload.github.com/Lnk2past/toadofsky/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243846989,"owners_count":20357296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cpp20","multithreading","orchestration","pubsub"],"created_at":"2024-10-13T04:08:45.527Z","updated_at":"2025-03-16T08:40:26.393Z","avatar_url":"https://github.com/Lnk2past.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toadofsky\n\nThis is an educational endeavor into learning a bit more about multithreading, messaging, and *orchestration* using C++20. Some goals, which will absolutely change as I experiement and mess around with it all:\n\n* Orchestration of (synchronization between) threads should be be flexible, should be able to switch between synchronous, asynchronous + fixed rate synchronization, and purely asynchronous\n* Messages sent between models should copy as little data as possible; make use of moves, pointers, etc.\n    * this is tough, how do you enforce copying underlying data when you need to persist it? e.g. a large object is sent via pointer and a receiver of the data holds onto that pointer. That data can change out from under the receiver, or potentially now the sender. \n* Many-to-many messaging\n* Messages carry provenance (minimally who sent it, when it was sent)\n* Implement a thread-pool to allow for using a restricted number of resources (e.g. multithread 4 models across 2 threads)\n* Top-to-bottom configurable via file (plan to use `nlohmann/json`)\n\n\u003ccenter\u003e\u003cimg src=\"toadofsky.png\" width=\"120\"\u003e\u003c/center\u003e\n\n## Development\n\nDevcontainer provided; just launch a Codespace or local devcontainer!\n\n### Build\n\nThis project uses Conan + CMake for dependency management and builds. You will need to install dependencies via Conan and then build via CMake (there are VSCode build tasks for these!):\n\n```shell\n# install dependencies\nconan install . --build=missing\n\n# load preset\ncmake --preset conan-release\n\n# build code\ncmake --build --preset conan-release\n```\n\n## Examples\n\nCheck out [`examples`](./exmaples) for some basic usage. Need to script building these...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnk2past%2Ftoadofsky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnk2past%2Ftoadofsky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnk2past%2Ftoadofsky/lists"}