<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vievk Bhadra</title>
    <description>The latest articles on DEV Community by Vievk Bhadra (@vivekbhadra).</description>
    <link>https://dev.to/vivekbhadra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F212655%2F939d0dce-5fc7-498a-a960-461b2dda1c31.png</url>
      <title>DEV Community: Vievk Bhadra</title>
      <link>https://dev.to/vivekbhadra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vivekbhadra"/>
    <language>en</language>
    <item>
      <title>When does std::shared_mutex beat std::mutex? Google Benchmark shows a crossover: mutex wins at low threads, shared_mutex scales under reader contention https://techfortalk.co.uk/2026/01/03/when-stdshared_mutex-outperforms-stdmutex-a-google-benchmark-study/</title>
      <dc:creator>Vievk Bhadra</dc:creator>
      <pubDate>Sun, 04 Jan 2026 11:57:23 +0000</pubDate>
      <link>https://dev.to/vivekbhadra/when-does-stdsharedmutex-beat-stdmutex-google-benchmark-shows-a-crossover-mutex-wins-at-low-37b4</link>
      <guid>https://dev.to/vivekbhadra/when-does-stdsharedmutex-beat-stdmutex-google-benchmark-shows-a-crossover-mutex-wins-at-low-37b4</guid>
      <description>&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://techfortalk.co.uk/2026/01/03/when-stdshared_mutex-outperforms-stdmutex-a-google-benchmark-study/" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Ftechfortalk.co.uk%2Fwp-content%2Fuploads%2F2026%2F01%2Fcreate-a-highly-detailed-high-resolution-image-focused-on-a-side-by-side-20.png" height="600" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://techfortalk.co.uk/2026/01/03/when-stdshared_mutex-outperforms-stdmutex-a-google-benchmark-study/" rel="noopener noreferrer" class="c-link"&gt;
            When std::shared_mutex Outperforms std::mutex: A Google Benchmark Study – Tech For Talk
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            In multi-threaded programming, protecting shared resources is crucial. std::mutex is common, but may bottleneck performance when many readers access data. std::shared_mutex can optimize scenarios w…
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Ftechfortalk.co.uk%2Fwp-content%2Fuploads%2F2025%2F02%2Fcropped-image-5.png%3Fw%3D32" width="32" height="32"&gt;
          techfortalk.co.uk
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Often, std::span in C++20 is a better choice when designing interfaces that accept data buffers from users. this post explains why: 
https://techfortalk.co.uk/2025/12/30/stdspan-c20-when-to-use-and-not-use-for-safe-buffer-passing/ 
#cpp #programming</title>
      <dc:creator>Vievk Bhadra</dc:creator>
      <pubDate>Tue, 30 Dec 2025 17:53:00 +0000</pubDate>
      <link>https://dev.to/vivekbhadra/often-stdspan-in-c20-is-a-better-choice-when-designing-interfaces-that-accept-data-buffers-1i6o</link>
      <guid>https://dev.to/vivekbhadra/often-stdspan-in-c20-is-a-better-choice-when-designing-interfaces-that-accept-data-buffers-1i6o</guid>
      <description>&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://techfortalk.co.uk/2025/12/30/stdspan-c20-when-to-use-and-not-use-for-safe-buffer-passing/" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Ftechfortalk.co.uk%2Fwp-content%2Fuploads%2F2025%2F12%2Fcreate-a-bright-vibrant-abstract-169-banner-1920x1080px-for-a-8.png" height="600" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://techfortalk.co.uk/2025/12/30/stdspan-c20-when-to-use-and-not-use-for-safe-buffer-passing/" rel="noopener noreferrer" class="c-link"&gt;
            std::span C++20: When to Use (and NOT Use) for Safe Buffer Passing – Tech For Talk
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            This post discusses the importance of efficient data handling in modern C++, exploring methods of passing contiguous data buffers to functions, including raw pointers, std::vector, std::array, and …
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Ftechfortalk.co.uk%2Fwp-content%2Fuploads%2F2025%2F02%2Fcropped-image-5.png%3Fw%3D32" width="32" height="32"&gt;
          techfortalk.co.uk
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Choosing the Right C++ Containers for Performance</title>
      <dc:creator>Vievk Bhadra</dc:creator>
      <pubDate>Wed, 24 Dec 2025 14:53:17 +0000</pubDate>
      <link>https://dev.to/vivekbhadra/choosing-the-right-c-containers-for-performance-3a20</link>
      <guid>https://dev.to/vivekbhadra/choosing-the-right-c-containers-for-performance-3a20</guid>
      <description>&lt;p&gt;I wrote a short article on choosing C++ containers, focusing on memory layout and performance trade-offs in real systems.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://techfortalk.co.uk/2025/12/24/optimal-c-containers-for-performance-efficiency/" rel="noopener noreferrer"&gt;https://techfortalk.co.uk/2025/12/24/optimal-c-containers-for-performance-efficiency/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cpp</category>
      <category>performance</category>
      <category>softwareengineering</category>
      <category>systems</category>
    </item>
  </channel>
</rss>
