MACRO-FREE TESTING WITH C++20CPPCON 2020 / CPPCON 2020 / MACRO-FREE TESTING MACRO-FREE TESTING WITH C++20 WITH C++20 | | | | HTTPS://BOOST-EXT.GITHUB.IO/UT/CPPCON-2020 HTTPS://BOOST-EXT.GITHUB.IO/UT/CPPCON-2020 KRIS@JUSIAK SINGLE (2K LOC) WITH NO EXTERNAL DEPENDENCIES (2K LOC) WITH NO EXTERNAL DEPENDENCIES MACRO-FREE (✔ ) MACRO-FREE (✔ ) (*) LIMITATIONS MAY APPLY (*) LIMITATIONS MAY APPLY HTTPS://GITHUB.COM/BOOST-EXT/UT SINGLE (2K LOC) WITH NO EXTERNAL DEPENDENCIES (2K LOC) WITH NO EXTERNAL DEPENDENCIES MACRO-FREE (✔ ) MACRO-FREE (✔ ) FEATURES ( FEATURES ( , , , , , , , , , , , , , , ) (*) LIMITATIONS MAY0 码力 | 53 页 | 1.98 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
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
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
Plug-in Based Software Architecture for RoboticsDesigning a simplified plugin architecture ● Library used in robotics to implement plugin based system ○ Pluginlib ● Case study for plugin architecture - MoveIt ● Limitations ● Summary 2Introduction add functionality to a larger system without having to alter the source code of the system itself. Plug-ins are self-contained modules that are loaded into the system at runtime. 4Components of plugin plugin architecture 1. Core - Defines how the system operates and provides interface 2. Plugins - Stand-alone independent components that contain implementation of core application’s features0 码力 | 75 页 | 2.40 MB | 6 月前3
C++ Modules: Getting Started Todayuse them, be sure to only use them for module source files (as defined above)30/50 What is a build system anyway? $ g++ -o my_src.o -I . -c my_src.cpp $ g++ my_executable .o -o my_executable31/50 Tracking changes for the build system?34/50 What changes for the build system?35/50 What changes for the build system?36/50 What changes for the build system?36/50 What changes for the build system?37/50 What changes changes for the build system? add_executable ( my_executable ) target_sources ( my_executable PUBLIC ${ PROJECT_SOURCE_DIR }/ my_src.cpp PUBLIC FILE_SET MODULES BASE_DIRS ${ PROJECT_SOURCE_DIR } FILES0 码力 | 65 页 | 1.97 MB | 6 月前3
Data Is All You Need for Fusioncblas_sgemm(....); return 0; } High Performance code is about Hardware Matrix Multiply #define macro_n4 {\ b_pref = b_ptr + 4 * K;\ __asm__ __volatile__(\ "movq %7,%%r15; movq %1,%%r14; movq %6,%%r11; "zmm29","zmm30","zmm31");\ ,! a_ptr -= M * K; b_ptr += 4 * K; c_ptr += 4 * ldc - M;\ } #define macro_n2 {\ b_pref = b_ptr + 2 * K;\ __asm__ __volatile__(\ "movq %7,%%r15; movq %1,%%r14; movq %6,%%r11; packing_b_k18(B+k_count+second_n_count*LDB,b_buffer+(second_n_count-n_count)*k_inc,LDB,k_inc,second_n_inc); macro_kernel_k18(a_buffer,b_buffer+(second_n_count-n_count)*k_inc,m_inc,second_n_inc,k_inc,&C(0,second_n_count)0 码力 | 151 页 | 9.90 MB | 6 月前3
Conan 1.16 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 Cross platform, build system agnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.5 Stable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 12.5 Version Control System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 12.6 Custom settings. 4 Chapter 1. Introduction conan Documentation, Release 1.16.1 1.4 Cross platform, build system agnostic Conan works and is being actively used on Windows, Linux (Ubuntu, Debian, RedHat, ArchLinux0 码力 | 545 页 | 4.34 MB | 1 年前3
Make Successor Build Systems: World Tour of Build Systemsbuild systemsLearning from other build-systemsParallelism How many independent targets can a build system run concurrently at most?Parallelism Level 1 - Gradle . ├── app │ ... │ └── build.gradle ├── robust and easy to configure toolchains out of the box. This way builds do not normally rely on any system-wide installed tools/libraries that can change between different workstationsReproducibility Level add_definitions(-D__DATE__="May 14 2021") add_definitions(-D__TIME__="17:11:43") add_compile_options(-Wno-builtin-macro-redefined)Will it CMake? Problem 3: Randomness when using `-flto` with GCC LTO on GCC will produce0 码力 | 115 页 | 7.02 MB | 6 月前3
共 255 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26
相关搜索词
MACROFREETESTINGWITHC++20SimpleRollbackSysteminCombiningCoRoutinesandFunctionsintoJobBuildingCoroutineBasedWithoutStandardLibraryBehaviordrivenTestsforMicroservicesbasedAlgoTradingPlugSoftwareArchitectureRoboticsModulesGettingStartedTodayDataIsAllYouNeedFusionConan1.16DocumentationMakeSuccessorBuildSystemsWorldTourof













