What is Low Latency C++? (Part 1) - Timur Doumler - CppNow 2023

  Переглядів 27,863

CppNow

CppNow

День тому

www.cppnow.org​
/ cppnow
---
What is Low Latency C++? (Part 1) - Timur Doumler - CppNow 2023
Slides: github.com/boostcon
---
It is often said that C++ is a great language for low latency systems, such as finance, audio processing, and video games. But what exactly do we mean by "low latency"? How is that different from "high performance"? And what makes C++ a great language for that? This talk is an attempt at answering these questions. We will look at low latency use cases across these different industries, establish their commonalities and differences, and discuss typical challenges in low latency systems and C++ techniques to overcome them.
---
Timur Doumler
Timur Doumler is the Developer Advocate for C++ tools at JetBrains and co-host of CppCast. He is an active member of the ISO C++ standard committee, where he is currently co-chair of the Contracts study group. As a developer, he worked many years in the audio and music technology industry and co-founded the music tech startup Cradle. Timur is passionate about clean code, good tools, low latency, and the evolution of the C++ language.
---
Video Sponsors: think-cell and Bloomberg Engineering
Audience Audio Sponsors: Innoplex and Maryland Research Institute
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
UKposts Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
CppNow 2024
www.cppnow.org​
/ cppnow
---
#boost #cpp #latency

КОМЕНТАРІ: 23
@adodge2
@adodge2 8 місяців тому
I'm enjoying the talk. Really glad they went the extra mile and gave a lavalier mic to some guy in the audience with a sore throat. Really simulating the authentic in-person conference experience. Makes me want to wash my hands.
@adodge2
@adodge2 8 місяців тому
alright I got 46 minutes in and the guy in the audience started talking to himself in between clearing his throat. I'm done.
@kevanschwitzer8585
@kevanschwitzer8585 8 місяців тому
Fantastic talk. A nice amount of breadth and great cross-references to other materials (books, presentations, articles) for those who are interested. Note: It was extremely hard to listen to this talk due to the excessive throat clearing of the participants. Maybe some audio processing could easily clean this kinda stuff up?!
@jasperlanda5276
@jasperlanda5276 7 місяців тому
I love Timur's talks but this mic keeps picking up three things instead of just one: Timur's voice, Timur's reverberated voice reflected in the room, and that one super annoying coughing guy.
@NickEnchev
@NickEnchev 8 місяців тому
Am I misunderstanding something, but at 1:26:26 doesn't b[i+1] += c[i] do an out-of-bounds write in the example on the left? I know the example is about vectorization and this is unrelated, but I found it an odd that the example would have that line.
@mehmetkose6
@mehmetkose6 8 місяців тому
Loves from Turkey, thx
@wjrasmussen666
@wjrasmussen666 8 місяців тому
the noise is annoying.
@omid_tau
@omid_tau 5 місяців тому
Download the video then suppress the noise using AI filter
@ailijic
@ailijic 8 місяців тому
First example and code starts at 44 min.
@abhisheksingh-li6zo
@abhisheksingh-li6zo 8 місяців тому
Code starts at 45.00
@Roibarkan
@Roibarkan 8 місяців тому
1:24:40 Jeff Garland’s talk: ukposts.info/have/v-deo/oJyYd5uOem-b2X0.html
@sirhenrystalwart8303
@sirhenrystalwart8303 8 місяців тому
I wonder, does something like [[assume size % 32 ==0 ]] help promote SIMD optimizations?
@Roibarkan
@Roibarkan 8 місяців тому
I believe so. The common case is when ‘size’ is actually the size of an array that it being traversed, and thie assume attribute can allow the compiler to emit fewer bound-checks, and iterate over multiple items simultaneously- which leads to SIMD. This is discussed in slide 106
@akisuihkonen7253
@akisuihkonen7253 8 місяців тому
It might. On clang (for arm64-v8a) I've noticed even a fixed value of `N=32` does not always lead to autovectorisation, but `size % 64 == 0` would do.
@ABaumstumpf
@ABaumstumpf 8 місяців тому
[[assume false]] :) And have fun.
@Roibarkan
@Roibarkan 8 місяців тому
1:24:40 Eduardo Madrid’s talk from 2022 about SWAR: ukposts.info/have/v-deo/emSHrKatfY5quo0.html
@SamualN
@SamualN 8 місяців тому
why does the audio sound so bad?
@mindstudioentertainment5158
@mindstudioentertainment5158 6 місяців тому
sounds like the in camera audio track was left in
@eldarsadykov
@eldarsadykov 8 місяців тому
That damn cough!
@tomfranky1744
@tomfranky1744 8 місяців тому
Timur's habit is to talk too fast about many diffenet things that may not be needed necessarily, making his talks not very advantageous to me. Most of the times they are confusing more than being simple, clear and ready to be understood.
@Spongman
@Spongman 8 місяців тому
it's 2023. who goes to a conference with a cough, ffs?
@TheMoQingbird
@TheMoQingbird 8 місяців тому
bad sound recording
@PhoenixMoonbeam
@PhoenixMoonbeam Місяць тому
is there anywhere this has been uploaded without the horrific perpetual background coughing and footstamping?
What is Low Latency C++? (Part 2) - Timur Doumler - CppNow 2023
1:32:59
How low can you go? Ultra low latency Java in the real world - Daniel Shaya
55:32
London Java Community
Переглядів 46 тис.
Історія загиблого Назара Небожинського
00:54
Суспільне Рівне
Переглядів 543 тис.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Переглядів 102 тис.
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
1:29:16
CppCon
Переглядів 126 тис.
The Rust Standard Library is SO Confusing...Until Now!
11:45
Travis Media
Переглядів 21 тис.
The ARM chip race is getting wild… Apple M4 unveiled
4:07
Fireship
Переглядів 445 тис.
day in the life of a software engineer at a trading company
10:13
Joseph Tran
Переглядів 74 тис.
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Переглядів 4,9 млн
Broken Flex Repair #technology #mobilerepair
0:50
ideal institute aligarh
Переглядів 1,3 млн
How Neuralink Works 🧠
0:28
Zack D. Films
Переглядів 24 млн
Наушники Ой🤣
0:26
Listen_pods
Переглядів 244 тис.
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43