The Curious Engineer

All blogs / C++

Stories by Ryonald Teofilo on Medium

medium.com/@ryonaldteofilo

C++ConcurrencyPerformance / optimization

’23’24’25’26
Posts
29 from 30 Jul 2023 to 27 Apr 2024
Posting
quiet since 2024
Kind
personal blog
Feed
https://medium.com/feed/@ryonaldteofilo

2024 1

  1. Writing Stable APIs with pImpl and Fast pImpl in C++

2023 9

  1. Data Structures in C++ — STL Containers
  2. Atomics in C++ — CAS and Memory Order
  3. Atomics in C++ — What is a std::atomic?
  4. Cache Line Alignment in C++ — How It Makes Your Program Faster.
  5. Memory and Data Alignment in C++ — What is Misaligned Access?
  6. Inline in C++ — What it has to do with the One Definition Rule.
  7. Copy and Move Elision in C++ — What is RVO/NRVO?
  8. Template type deduction in C++ — Behind the magic.
  9. Static and Extern in C++ — What it really does to your program?

Undated 19

  1. Cache line alignment in c 1aac85e4482f
  2. Memory and data alignment in c b870b02c80fb
  3. Writing stable apis with pimpl and fast pimpl in c 9ec387fe4339
  4. Hey paul although most if not all platforms have atomic reads and writes for built in types i was 51530f7ca2d9
  5. Atomics in c what is a std atomic and what can be made atomic part 1 a8923de1384d
  6. Atomics in c compare and swap and memory order part 2 64e127847e00
  7. Hmm i see your point but i think that would cause confusion with private members of a class 35007ce230ed
  8. Hey kai this depends on the cache coherency protocol in use 8e80b264e7ae
  9. Data structures in c stl containers b81574855950
  10. Copy move elision in c rvo nrvo f97b01d772ea
  11. Inline and one definition rule in c db760ec81fb2
  12. Thanks i think its more because we avoid bouncing caches between cores but modern cache memory 816da327a1d2
  13. Thanks for the kind words c93c63f7ac4d
  14. Ah good spot that should be fixed now thanks 9c05c5e57986
  15. Glad you found the read interesting f1790bd71c03
  16. Static and extern in c 95086e071510
  17. Template type deduction in c 3daa64b09bbb
  18. Ah yes of course the compiler needs to see the definition of the inline function in every af269c9445ee
  19. Thanks abde 11fc1ff96eab