drejon Hacker News • Recommends
On “Compiler Explorer”
#compilerexplorer#assembly#optimization
189K subscribers • 101 videos on Hallway • Conference channel
Intermediate. Assumes working knowledge.
177K views9 years ago10 recommendations
Systems programmingProgramming languagesCompilers and interpretersPerformance and optimizationC++
Matt Godbolt demonstrates how modern compilers optimize C++ code into assembly, using Compiler Explorer to reveal surprising optimizations.
CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2017 — In 2012, Matt and a colleague were arguing whether it was efficient to use the then-new-fangled range for. During the discussion a bash script was written to quickly compile C++ source and dump the assembly. Five years later and that script has grown into a website relied on by many to quickly see the code their compiler emits, to compare different compilers' code generation and behaviour, to quickly prototype and share code, and investigate the effect of optimization flags. In this talk Matt will not only show you how easy (and fun!) it is to understand the assembly code generated by your compiler, but also how important it can be. He'll explain how he uses Compiler Explorer in his day job programming low-latency trading systems, and show some real-world examples. He'll demystify assembly code and give you the tools to understand and appreciate how hard your compiler works for you. He'll also talk a little about how Compiler Explorer works behind the scenes, how it is maintained and deployed, and share some stories about how it has changed over the years. By the end of this session you'll be itching to take your favourite code snippets and start exploring what your compiler does with them. — Matt Godbolt: DRW, Senior Software Engineer Matt Godbolt is a software engineer with trading firm DRW, and the creator of the Compiler Explorer website. He is passionate about writing efficient code. He has previously worked at 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/safxfctfWhat people say. Highly recommended for its mind-blowing demonstrations of compiler optimizations and the architecture of Compiler Explorer.
drejon Hacker News • Recommends
On “Compiler Explorer”
snailmailmanon Hacker News • Recommends
On “Popcount CPU instruction”
fs111on Lobsters • Recommends
u/oilshellin r/ProgrammingLanguages • Recommends
programming-talkscurated list on GitHubRecommends
Under “Compilers/Interpreters”
pkayeon Hacker News • Recommends
On “Outperforming LAPACK with C++ metaprogramming”
highesttideon Hacker News • Recommends
On “Ask HN: What are some of the best technical talks you've heard?”
drejon Hacker News • Recommends
On “C++: Associative map containers with compile-time lookup”
fps_dougon Hacker News • Recommends
On “Color Emulation”
manaskarekaron Hacker News • Recommends
On “I translated a simple C program to x86_64 and it was slower”
s3cur3on Hacker News • Recommends
On “Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust”
u/skeetoin r/C_Programming • Mentions
On “Why is there no C conference?”
u/suprjamiin r/C_Programming • Mentions
On “Loop Optimizations: taking matters into your hands”
u/d1722825in r/C_Programming • Mentions
On “How can I let the compiler know that a for loop will be executed at least once, so it can optimize?”
u/oilshellin r/ProgrammingLanguages • Mentions
On “Monthly "What are you working on? How is it coming along?" thread - Happy New Year! - January '18”
foxrob92on Hacker News • Mentions
On “Compiler Explorer”