u/skeetoin r/GraphicsProgramming • Recommends
#compilerexplorer#pathtracing#raytracing
CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
189K subscribers • 103 videos on Hallway • Conference channel
- Recommended by 2 people: 1 on Hacker News and 1 in engineering communities.
- Presented by Matt Godbolt, creator of Compiler Explorer
- Linked in the descriptionCppCon/CppCon2019
Advanced. Deep dive for people who know the field.
77K views7 years ago2 recommendations
Programming languagesGraphics and audioC++RenderingPerformance and optimization
Matt Godbolt compares object-oriented, functional, and data-oriented implementations of a path tracer in C++ to analyze their performance and clarity.
CppCon.org — Discussion & Comments: reddit.com/r/cpp/ — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2019 — C++ is a multi-paradigm language allowing us as developers to pick and choose among a variety of styles: procedural, functional, object oriented, hybrids, and more. How does the style of programming we choose affect code clarity, testability, ease of changes, compile time and run-time performance? In this talk Matt will show a toy path tracer project (a form of ray tracer) implemented in three different styles: traditional object oriented, functional, and data-oriented design. He'll then compare and contrast his experiences developing in each case, showing how often the compiler is able to reduce each style to similar performing code. There's certain to be some surprises - and of course some Compiler Explorer usage! — Matt Godbolt Aquatic Capital Management, LLC Development Engineer Greater Chicago Area Matt Godbolt is the creator of the Compiler Explorer website. He is passionate about writing efficient code. He has previously worked at a trading firm, on mobile apps at Google, run his own C++ tools company and spent more than a decade making console games. When he's not hacking on Compiler Explorer, Matt enjoys writing emulators for old 8-bit computer hardware. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctfWhy it's here
2 people recommend thisWhat people say. Recommended for its insightful comparison of programming paradigms and how modern compilers optimize different C++ styles.
meheleventyoneon Hacker News • Recommends
On “Mispredicted branches can multiply your running times”
u/Nathanfennerin r/ProgrammingLanguages • Mentions
On “Opinions on Jonathan Blow's Jai?”
u/dom324324in r/Zig • Mentions
On “Data-oriented design resources”
u/dom324324in r/Zig • Mentions
On “Data-oriented design resources”
slavik81on Hacker News • Mentions
On “Google broke a conditional statement that verifies passwords on Chrome OS”
rdc12on Hacker News • Mentions
On “You can't fool the optimizer”