~/talk

Writing better code with help from Qt and the compiler

Talkat Qt World Summit 2015 · 2015-10-06..10-07· [software-architecture]
links:none on file
slides:none on file

Shows how C/C++ intrinsics and compiler features (GCC, Clang, Intel, MSVC) replace hand assembly for real speedups: uses intrinsics like the crc32 instruction and popcount, combines compile-time macros and runtime dispatching (Qt’s cpu-detection and function-target macros) and linker multi-version libraries. Reports concrete wins: an existing loop drops from ~5M to ~3M cycles with a hand-tuned version and gains another ~3x with lookup-table tricks; those optimizations make it into Qt 5.3/5.4 and behave correctly when tested.

AI-written summary · about

  1. 0:00Introduction
  2. 4:11Bit counting strategies
  3. 10:40Using compiler intrinsics
  4. 13:33Targeting specific hardware
  5. 18:34Qt code examples
  6. 29:01Runtime dispatching
  7. 37:11Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.