Loading…
CppCon 2016 has ended
Back To Schedule
Thursday, September 22 • 2:00pm - 3:00pm
No Sane Compiler Would Optimize Atomics

Log in to save this to your schedule, view media, leave feedback and see who's attending!

False.

Compilers do optimize atomics, memory accesses around atomics, and utilize architecture-specific knowledge. My hobby is to encourage compilers to do more of this, programmers to rely on it, and hardware vendors to give us new atomic toys to optimize with. Oh, and standardize yet more close-to-the-metal concurrency and parallelism tools.

But, you say, surely volatile always means volatile, there’s nothing wrong with my benign races, nothing could even go wrong with non-temporal accesses, and who needs 6 memory orderings anyways‽ I’m glad you asked, let me tell you about my hobby…

Speakers
avatar for JF Bastien

JF Bastien

Compiler Engineer, Apple
JF Bastien is a compiler engineer, currently focusing on performance and security to bring portable, fast and secure code to the Web. JF is a member of the C++ standards committee, where his mechanical engineering degree serves little purpose. He's also the chair of the WebAssembly... Read More →


Thursday September 22, 2016 2:00pm - 3:00pm PDT
Prince Theater (2nd Floor) Meydenbauer Center
  lecture