https://github.com/eduard-permyakov/peredvizhnikov-engine Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Customer Stories + White papers, Ebooks, Webinars + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} eduard-permyakov / peredvizhnikov-engine Public * Notifications * Fork 8 * Star 342 A fully lock-free game engine written in C++20 License GPL-3.0 license 342 stars 8 forks Activity Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights eduard-permyakov/peredvizhnikov-engine This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/e] Use Git or checkout with SVN using the web URL. [gh repo clone eduard] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @eduard-permyakov eduard-permyakov Minor fixes to tests ... f2026d1 Sep 6, 2023 Minor fixes to tests f2026d1 Git stats * 261 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time deps/SDL2 Add SDL2 to project October 10, 2022 13:22 docs Add logo, README August 31, 2023 18:28 src scheduler: Fix being able to dequeue an awaiter more than once during... September 6, 2023 21:58 test Minor fixes to tests September 6, 2023 22:03 .gitignore Makefile: Add option to dump annotated assembly December 9, 2022 11:39 LICENSE.txt Add license August 31, 2023 18:08 Makefile Makefile: fix incorrect module dependency August 31, 2023 20:17 README.md Fix build for latest clang++-16 September 6, 2023 13:20 module.modulemap Fix build for latest clang++-16 September 6, 2023 13:20 View code Building Peredvizhnikov Engine License Contact README.md logo Peredvizhnikov Engine is a fully lock-free game engine written in C++20. It implements the actor model of concurrent computation on top of the language's coroutine primitives. Using the actor model abstraction, it is possible to develop complex, parallel logic while being wholly isolated from the details of inter-thread synchronization. A completely lock-free implementation of the model brings with it many advantages, namely guaranteed progress even in the presence of arbitrary thread termination, deadlock-freedom, predictable latency in reacting to critical events, and fault-tolerance. In fact, the degree of fault-tolerance in Peredvizhnikov Engine is so great, that the engine is guaranteed to continue running even when any of the worker threads is asynchronously killed. You may verify this yourself. The implementation is founded upon a mix of classical and novel ideas in lock-free programming. It includes a novel implementation of Software Transactional Memory, a new kind of lock-free queue, an original lock-free serialization primitive, a lock-free std::atomic_shared_ptr, a lock-free scheduler, a lock-free memory allocator and plenty more! For a detailed breakdown of all the lock-free algorithms that went into realizing the engine, rationale for the design, benchmarks, and more, please take a look at the accompanying document: Peredvizhnikov Engine: Design and Implementation of a Completely Lock-Free Scheduler . Building Peredvizhnikov Engine At the moment, the only supported platform is Linux. Clang++ 16 is required to build the sources. 1. git clone https://github.com/eduard-permyakov/ peredvizhnikov-engine.git 2. cd peredvizhnikov-engine 3. make -j16 DEBUG=0 License The source code of Peredvizhnikov Engine is freely available under the GPLv3 license. However, I may grant permission to use parts or all of the code under a different license on a case-by-case basis. Please inquire by e-mail. Contact You may contact me with any questions, comments, or concerns pertaining to the source code or the underlying algorithms. In addition, I am currently actively seeking employment. Please don't hesitate to reach out regarding any suitable opportunities. My e-mail is: edward.permyakov@gmail.com About A fully lock-free game engine written in C++20 Resources Readme License GPL-3.0 license Activity Stars 342 stars Watchers 5 watching Forks 8 forks Report repository Releases No releases published Packages 0 No packages published Languages * C++ 98.8% * Makefile 1.2% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.