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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • 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/
    TH-cam Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
    ---
    CppNow 2024
    www.cppnow.org​
    / cppnow
    ---
    #boost #cpp #latency
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 24

  • @adodge2
    @adodge2 9 หลายเดือนก่อน +39

    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 9 หลายเดือนก่อน +12

      alright I got 46 minutes in and the guy in the audience started talking to himself in between clearing his throat. I'm done.

    • @pogrammerinthehouse8643
      @pogrammerinthehouse8643 17 วันที่ผ่านมา

      @@adodge2 😂😂😂

  • @kevanschwitzer8585
    @kevanschwitzer8585 9 หลายเดือนก่อน +15

    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 8 หลายเดือนก่อน +11

    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 9 หลายเดือนก่อน +1

    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 9 หลายเดือนก่อน +2

    Loves from Turkey, thx

  • @ABaumstumpf
    @ABaumstumpf 8 หลายเดือนก่อน +2

    [[assume false]] :) And have fun.

  • @sirhenrystalwart8303
    @sirhenrystalwart8303 9 หลายเดือนก่อน

    I wonder, does something like [[assume size % 32 ==0 ]] help promote SIMD optimizations?

    • @Roibarkan
      @Roibarkan 9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน +1

      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.

  • @wjrasmussen666
    @wjrasmussen666 9 หลายเดือนก่อน +29

    the noise is annoying.

    • @omid_tau
      @omid_tau 5 หลายเดือนก่อน

      Download the video then suppress the noise using AI filter

  • @ailijic
    @ailijic 9 หลายเดือนก่อน

    First example and code starts at 44 min.

  • @abhisheksingh-li6zo
    @abhisheksingh-li6zo 9 หลายเดือนก่อน

    Code starts at 45.00

  • @Roibarkan
    @Roibarkan 9 หลายเดือนก่อน

    1:24:40 Eduardo Madrid’s talk from 2022 about SWAR: th-cam.com/video/B4VxpvFX9YY/w-d-xo.html

  • @Roibarkan
    @Roibarkan 9 หลายเดือนก่อน

    1:24:40 Jeff Garland’s talk: th-cam.com/video/hlgCeWC9jxI/w-d-xo.html

  • @SamualN
    @SamualN 9 หลายเดือนก่อน +8

    why does the audio sound so bad?

  • @tomfranky1744
    @tomfranky1744 9 หลายเดือนก่อน +2

    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.

  • @eldarsadykov
    @eldarsadykov 9 หลายเดือนก่อน +10

    That damn cough!

  • @Spongman
    @Spongman 9 หลายเดือนก่อน +17

    it's 2023. who goes to a conference with a cough, ffs?

  • @TheMoQingbird
    @TheMoQingbird 9 หลายเดือนก่อน +3

    bad sound recording

  • @PhoenixMoonbeam
    @PhoenixMoonbeam 2 หลายเดือนก่อน

    is there anywhere this has been uploaded without the horrific perpetual background coughing and footstamping?