filmov
tv
JF Bastien: No Sane Compiler Would Optimize Atomics

Показать описание
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…
NOTE: Due to a microphone failure, there is no audio for the last 15 minutes of this talk.
---
*--*
---
NOTE: Due to a microphone failure, there is no audio for the last 15 minutes of this talk.
---
*--*
---