Template Metaprogramming: Type Traits
Template Metaprogramming: Type Traits Part 1 CppCon 2020 1 Jody Hagins jhagins@maystreet.com coachhagins@gmail.comTemplate Metaprogramming: Type Traits CppCon 2020 2 IntroductionIntended Audience necessarily beginner to C++, but beginner to traditional template metaprogramming techniques • Type traits part of standard library for ~10 years 3Intended Audience • Beginner/Intermediate • Gentle necessarily beginner to C++, but beginner to traditional template metaprogramming techniques • Type traits part of standard library for ~10 years • Fundamentals have been in use for ~20 years 3Intended0 码力 | 403 页 | 5.30 MB | 5 月前3A 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 | 5 月前3Combining Co-Routines and Functions into a Job System
Hlavacs – 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 | 5 月前3Building a Coroutine-Based Job System Without Standard Library
Zhang 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 | 5 月前3Behavior-driven Tests for Microservices-based Algo Trading System
from 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 | 5 月前3Oracle VM VirtualBox 5.2.40 Programming Guide and Reference
refer to this as the “raw web service”. You will then have neither native object orientation nor full type safety, since web services are neither object-oriented nor stateful. However, in this way, you can particular type of programming interface. Whereas, with “normal” program- ming, a program calls an application programming interface (API) defined by another program or the operating system and both sides the file name containing the seed for the random num- ber generator. If left empty, an operating system specific source of the seed. 24 1 Introduction • --timeout (or -t): This specifies the session timeout0 码力 | 422 页 | 2.45 MB | 5 月前3Oracle VM VirtualBox 5.2.12 Programming Guide and Reference
refer to this as the “raw web service”. You will then have neither native object orientation nor full type safety, since web services are neither object-oriented nor stateful. However, in this way, you can particular type of programming interface. Whereas, with “normal” program- ming, a program calls an application programming interface (API) defined by another program or the operating system and both sides the file name containing the seed for the random num- ber generator. If left empty, an operating system specific source of the seed. 24 1 Introduction • --timeout (or -t): This specifies the session timeout0 码力 | 421 页 | 2.43 MB | 5 月前3Oracle VM VirtualBox 4.1.40 Programming Guide and Reference
refer to this as the “raw web service”. You will then have neither native object orientation nor full type safety, since web services are neither object-oriented nor stateful. However, in this way, you can particular type of programming interface. Whereas, with “normal” program- ming, a program calls an application programming interface (API) defined by another program or the operating system and both sides the file name containing the seed for the random num- ber generator. If left empty, an operating system specific source of the seed. 19 1 Introduction • --timeout (or -t): This specifies the session timeout0 码力 | 306 页 | 1.92 MB | 5 月前3Julia 1.12.0 RC1
Argument Passing Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.2 Argument-type declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.3 The return Keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 12 Types 127 12.1 Type Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 12.2 Abstract Declared Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 12.7 Type Unions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 12.8 Parametric0 码力 | 2057 页 | 7.44 MB | 3 月前3Julia 1.11.6 Release Notes
Argument Passing Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.2 Argument-type declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.3 The return Keyword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 12 Types 127 12.1 Type Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 12.2 Abstract Declared Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 12.7 Type Unions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 12.8 Parametric0 码力 | 2007 页 | 6.73 MB | 3 月前3
共 396 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40