安装我们的扩展,即时搜索任意视频内容

Lightning Talk: Catching Performance Issues at Compile Time - Keith Stockdale - CppCon 2025
本站添加:

205 观看144:55CppCon原视频发布: 2026-05-01

This video demonstrates how to use custom type traits with static_assert to detect when callables are accepting arguments by value instead of by reference, transforming runtime performance issues into compile-time errors. The speaker, Keith Stockdale from Rare Ltd, presents a practical example where a missing ampersand in a lambda function caused significant server performance problems due to unnecessary copying of large objects. By implementing a type trait that checks if arguments are references, pointers, or small trivial types, developers can catch these bugs during compilation rather than runtime, preventing costly performance issues from reaching production.

相关推荐

resume fixed instantly 😭 Comment “app”andI’ll sendyou the link #parakeetaipartnership #resumetips

Ritcareer

686 views2026-05-31

3D Basics in C

HirschDaniel

2K views2026-06-05

Re: 🗣️📍theprophedu📍2026 GST 103 CLASS (E-EXAM REVISION)

theprophedu

636 views2026-06-04

Search Algorithms Explained in 60 Seconds! 🤖💨

samarthtuliofficial

218 views2026-06-01

Making Minecraft Clone with C++ & Raylib

PecaCSLive

686 views2026-06-04

People of Game of Thrones using JavaScript DOM

AltCampus

296 views2026-05-30

Instagram accounts got PWNed

EricParker

13K views2026-06-03

So What's Odin Lang Even Good For

TechOverTea

131 views2026-06-01

热门趋势

Why Batman Lets The Joker Live 🤨

zackdfilms

9222K views2026-05-30

This spider is a VAMPIRE (Kinda...)

moreparz

2764K views2026-06-02

Making Ai Choose Where I Eat

Tyrecordslol

3080K views2026-06-03

They're Complete Trash

penguinz0

558K views2026-06-04