## +23
## Optimizing Away Virtual
Functions May Be Pointless
## SHACHAR SHEMESH
Slide #2 - who am I?

## DO NOT
ENTER reviewer's notes:
There are interesting technical details and surprising conclusions that virtual
functions can be actually faster. Since CPU architectures are mentioned, I'd expect to see deep assembly %r12 result ^= b->concrete();12e3: e8 a8 ff ff ff call 1290 <Base::virt() const>12e8: 41 31
c6 xor %eax,%r14dfor( size\_t i=0; i<num\_iterations; ui ) {|
|---|
for( 0 码力 |
20 页 |
1.19 MB
| 1 年前 3 ## +21
## Combining Co-Routines and Functions into a Job System
## HELMUT HLAVACS
20
21
October 24-29
## About Myself
• Professor for Computer Science
• University of Vienna, Austria: founded 1365 Information Processing) Technical Committee 14 Entertainment Computing
## Creating Game Engines with C++
• Vienna Game Job System +
• Graphics API Abstraction Layer +
• Vienna Entity Component System • Vienna Game AI Engine +
• GUI
• = Vienna Vulkan Game Engine 2.0
https://github.com/hlavacs
## C++ 20
## The Game Loop
auto prev = high_resolution_clock::now();
while (!finished()) {
auto now 0 码力 |
39 页 |
1.23 MB
| 1 年前 3 ## C HANDBOOK
# Table of Contents
Preface
The C Handbook
Conclusion
## Preface
The C Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic.
In particular, the goal is to get get you up to speed quickly with C.
This book is written by Flavio. I publish programming tutorials on my blog flaviocopes.com and I organize a yearly bootcamp at bootcamp.dev.
You can reach me on Twitter Twitter @flaviocopes.
Enjoy!
## The C Handbook
• 1. Introduction to C
• 2. Variables and types
• 2.1. Integer numbers
• 2.2. Unsigned integers
• 2.3. The problem with overflow
0 码力 |
60 页 |
908.68 KB
| 2 年前 3 This is C++
JON KALB
20
24
September 15 - 20
This is

## WHAT'S YOUR SUPERPOWER?
## Uncompromising performance [Image](/uploads/documents/3/a/8/c/3a8cc028dde23f7d3437878d5b9a4de6/p5_1.jpg)

This is

## its a conspiracy man
## Memory Model
## I mportant Question
## Does the processor executes the program you long | 27 | # 0x1b |
| .LCPI1_7: |
| .long | 28 | # 0x1c |
| .long | 29 | # 0x1d |
| .long | 30 | # 0x1e |
0 码力 |
112 页 |
5.17 MB
| 1 年前 3 ## COMPOSABLE C++

## BEN DEANE / @ben_deane
CPPCON 2021
## I N THIS TALK
1. Composability defined
2. Composable types right."
-- Andrei Alexandrescu (CppCon 2015)
As for allocators, so for everything.
## PART 1: FUNCTIONS
## Starting at the bottom and working our way up:
Function-level composability
## THE RETURN TYPE loops, really
• a lot of caching schemes (or idempotent calculations)
• polling/non-blocking functions
## bool UNDERLIES SO MUCH
It seems so trivial that we often don't notice it.
Things that build 0 码力 |
124 页 |
8.28 MB
| 1 年前 3
|