 A Simple Rollback System in C++BeyondWe still need to wait for all the player inputs to process the confirm frame…What is a rollback system?Input predictionMispredictionDoing a rollbackRollback Implementation DetailsPhysics vs Graphics game update. This allows to sequence your game frame.A Fixed TickRollback Manager InputsRollbackGame System Architecture Game systems need a function to rollback (revert to a previous state). Typically everywhere Player Character as a gameplay, physics, graphics and audio object…ECS-like architecture System and array of Components (C-struct without functionality, except operators maybe) You want to have0 码力 | 58 页 | 6.61 MB | 6 月前3 A Simple Rollback System in C++BeyondWe still need to wait for all the player inputs to process the confirm frame…What is a rollback system?Input predictionMispredictionDoing a rollbackRollback Implementation DetailsPhysics vs Graphics game update. This allows to sequence your game frame.A Fixed TickRollback Manager InputsRollbackGame System Architecture Game systems need a function to rollback (revert to a previous state). Typically everywhere Player Character as a gameplay, physics, graphics and audio object…ECS-like architecture System and array of Components (C-struct without functionality, except operators maybe) You want to have0 码力 | 58 页 | 6.61 MB | 6 月前3
 Mix Assertion, Logging, Unit Testing and Fuzzing with ZeroErrMix Assertion, Logging, Unit Testing and Fuzzing with ZeroErr Build Safer Modern C++ Application Speaker: Xiaofan Sun Date: Sep 19, 2024Self-Introduction • Got my Ph.D. from UC, Riverside Pointer: std::unique_ptr Mix Assertion, Logging, Unit Testing and Fuzzing with ZeroErrMix Assertion, Logging, Unit Testing and Fuzzing with ZeroErr Build Safer Modern C++ Application Speaker: Xiaofan Sun Date: Sep 19, 2024Self-Introduction • Got my Ph.D. from UC, Riverside Pointer: std::unique_ptr- Class from third-party library: llvm::Value*Logging the Data // LOG(INFO) << Data; // ASSERT(a > b, “A > B is not true”, a, b); std::ostream& oper std::unique_ptr - ptr); std::ostream& operator<<(std::ostream& out, llvm::Value* data); ......Logging the Data • Namespace pollution • Hard to implement with template • No extensibility • No customization 0 码力 | 54 页 | 961.46 KB | 6 月前3
 Combining Co-Routines and Functions into a Job SystemHlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 1 / 39Helmut Hlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 2 / 39 About Myself • Professor for Functions into a Job System - CppCon 2021 3 / 39 Creating Game Engines with C++ • Vienna Game Job System + • Graphics API Abstraction Layer + • Vienna Entity Component System + Vienna Type List Library 2.0 https://github.com/hlavacs 20Helmut Hlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 4 / 39 The Game Loop auto prev = high_resolution_clock::now(); while( !finished()0 码力 | 39 页 | 1.23 MB | 6 月前3 Combining Co-Routines and Functions into a Job SystemHlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 1 / 39Helmut Hlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 2 / 39 About Myself • Professor for Functions into a Job System - CppCon 2021 3 / 39 Creating Game Engines with C++ • Vienna Game Job System + • Graphics API Abstraction Layer + • Vienna Entity Component System + Vienna Type List Library 2.0 https://github.com/hlavacs 20Helmut Hlavacs – Combining Co-Routines and Functions into a Job System - CppCon 2021 4 / 39 The Game Loop auto prev = high_resolution_clock::now(); while( !finished()0 码力 | 39 页 | 1.23 MB | 6 月前3
 Building a Coroutine-Based Job System Without Standard LibraryZhang tankiistanki tankijong COROUTINE JOB SYSTEM WITHOUT STANDARD LIBRARY source code of the system: https://github.com/tankiJong/cpp-coroutine-job-system Hi Everyone, Tanki here. Thanks for coming resources: https://gist.github.com/MattPD/9b55db49537a90545a90447392ad3aeb Before we dive into the system, I want to take 10 mins to have a quick recap about C++ coroutine and share some gotcha moments pretty overwhelmed by all different terms, not to mention to put them up together to form a knowledge system. I hope the following information can be helpful and I attached some links in the slides, or pointers0 码力 | 120 页 | 2.20 MB | 6 月前3 Building a Coroutine-Based Job System Without Standard LibraryZhang tankiistanki tankijong COROUTINE JOB SYSTEM WITHOUT STANDARD LIBRARY source code of the system: https://github.com/tankiJong/cpp-coroutine-job-system Hi Everyone, Tanki here. Thanks for coming resources: https://gist.github.com/MattPD/9b55db49537a90545a90447392ad3aeb Before we dive into the system, I want to take 10 mins to have a quick recap about C++ coroutine and share some gotcha moments pretty overwhelmed by all different terms, not to mention to put them up together to form a knowledge system. I hope the following information can be helpful and I attached some links in the slides, or pointers0 码力 | 120 页 | 2.20 MB | 6 月前3
 Behavior-driven Tests for Microservices-based Algo Trading Systemfrom Columbia University. Title : Behavior-driven Tests for Microservices-based Algo Trading System Summary : Introduction : This poster will introduce a test framework we use at Bloomberg to to enable behavior-based tests in natural language style for a microservices-based algo trading system that our engineering team is responsible for. Relevance : For our electronic trading business Although microservice components can easily be unit tested, it is often non-trivial to automate the system-level tests with external dependencies. Controlling external dependencies are especially important0 码力 | 1 页 | 65.24 KB | 6 月前3 Behavior-driven Tests for Microservices-based Algo Trading Systemfrom Columbia University. Title : Behavior-driven Tests for Microservices-based Algo Trading System Summary : Introduction : This poster will introduce a test framework we use at Bloomberg to to enable behavior-based tests in natural language style for a microservices-based algo trading system that our engineering team is responsible for. Relevance : For our electronic trading business Although microservice components can easily be unit tested, it is often non-trivial to automate the system-level tests with external dependencies. Controlling external dependencies are especially important0 码力 | 1 页 | 65.24 KB | 6 月前3
 Tracy: A Profiler You Don't Want to MissCppCon 2023 Keynote (literally three days ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not information overload; profiling overhead (skew) selective (manual) Sampling callstack snapshot probing system-wide automatic (regular intervals) OS kernel events hardware counters issues: information overload; sampling overhead; constrained by sampling frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not0 码力 | 84 页 | 8.70 MB | 6 月前3 Tracy: A Profiler You Don't Want to MissCppCon 2023 Keynote (literally three days ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not information overload; profiling overhead (skew) selective (manual) Sampling callstack snapshot probing system-wide automatic (regular intervals) OS kernel events hardware counters issues: information overload; sampling overhead; constrained by sampling frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not0 码力 | 84 页 | 8.70 MB | 6 月前3
 Tracy: A Profiler You Don't Want to Miss2023 Opening Keynote (literally three days ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not information overload; profiling overhead (skew) selective (manual) Sampling callstack snapshot probing system-wide automatic (regular intervals) OS kernel events hardware counters issues: information overload; sampling overhead; constrained by sampling frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not0 码力 | 85 页 | 6.51 MB | 6 月前3 Tracy: A Profiler You Don't Want to Miss2023 Opening Keynote (literally three days ago!)Tracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not information overload; profiling overhead (skew) selective (manual) Sampling callstack snapshot probing system-wide automatic (regular intervals) OS kernel events hardware counters issues: information overload; sampling overhead; constrained by sampling frequencyTracing program execution logging function calls (+ args & return) system events state changes debug/warning/error messages mostly for debugging: not0 码力 | 85 页 | 6.51 MB | 6 月前3
 Conan 1.23 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 637 页 | 5.04 MB | 1 年前3 Conan 1.23 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 637 页 | 5.04 MB | 1 年前3
 Conan 1.22 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 629 页 | 4.98 MB | 1 年前3 Conan 1.22 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 629 页 | 4.98 MB | 1 年前3
 Conan 1.26 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 669 页 | 5.51 MB | 1 年前3 Conan 1.26 DocumentationEnvironments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 10.6 Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 13.6 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 13.7 Custom generate any arbitrary number of binaries, one for each different platform and configuration: operating system, architecture, compiler, build type, etc. Those binaries can be created and uploaded to a server0 码力 | 669 页 | 5.51 MB | 1 年前3
共 245 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25














 
 