Lightning Talk: Finding My First Compiler Bug - Braden Ganetsky - CppNow 2023

  Рет қаралды 2,120

CppNow

CppNow

Күн бұрын

www.cppnow.org​
/ cppnow
---
Lightning Talk: Finding My First Compiler Bug - Braden Ganetsky - CppNow 2023
Slides: github.com/boostcon/cppnow_pr...
---
It's an exciting part of a C++ developer's early career. I found my first compiler bug! A piece of data is getting zeroed out at run time even though it's fine at compile time. For my first ever lightning talk, I want to take you on the journey of reproducing this bug involving some of our favourite C++ features, including concepts, lambdas, and non-type template parameters.
---
Braden Ganetsky
Braden Ganetsky graduated from the University of Manitoba with a degree in mechanical engineering, but soon pivoted to C++. Now he spends his days working on supply chain simulation software, and spends his nights working on parser combinators and getting involved in the C++ community.
---
Video Sponsors: think-cell and Bloomberg Engineering
Audience Audio Sponsors: Innoplex and Maryland Research Institute
---
Videos Filmed & Edited By Bash Films: bashfilms.com/
KZbin Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---
CppNow 2024
www.cppnow.org​
/ cppnow
---
#boost #cpp #cppprogramming

Пікірлер: 2
@kevanschwitzer8585
@kevanschwitzer8585 7 ай бұрын
This is a great kind of content for a lightning talk. An explanation for the fix if/when it happens would be cool to see too.
@ultradude5410
@ultradude5410 7 ай бұрын
People always say"it's not a compiler bug, check your code again" But every now and then, it actually is a compiler bug! I've found one compiler bug in older versions of clang, though it was fixed before I found it. Never did dig too deep into it, but an older version of clang really didn't like a static member variable template declared as `auto` when the type depended on a template template parameter of the class and on a type template parameter of the variable template itself. A redundant `decltype` is an effective workaround. Clang 11 and 12 I believe I found that on, with C++17 mode, on 64-bit Linux. Fun stuff!
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 13 МЛН
Эффект Карбонаро и бесконечное пиво
01:00
История одного вокалиста
Рет қаралды 6 МЛН
WHY THROW CHIPS IN THE TRASH?🤪
00:18
JULI_PROETO
Рет қаралды 5 МЛН
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 11 МЛН
tree-sitter explained
15:00
TJ DeVries
Рет қаралды 69 М.
LeetCode 539: Minimum Time Difference
8:53
Ali Ramazani
Рет қаралды 99
Python Vs C++ Vs Java!
4:41
ByteByteGo
Рет қаралды 443 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 173 М.
are "smart pointers" actually smart?
9:44
Low Level Learning
Рет қаралды 69 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 76 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 26 МЛН
ЭТОТ ЗАБЫТЫЙ ФЛАГМАН СИЛЬНО ПОДЕШЕВЕЛ! Стоит купить...
12:54
Thebox - о технике и гаджетах
Рет қаралды 156 М.
Best Beast Sounds Handsfree For Multi Phone
0:42
MUN HD
Рет қаралды 339 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 2,4 МЛН