C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Concurrent containers

From: Phil Bouchard <boost_at_[hidden]>
Date: Thu, 3 Aug 2023 18:36:15 -0400
On 8/3/23 18:33, Phil Bouchard via Std-Proposals wrote:
>
>
> On 8/3/23 17:09, Frederick Virchanza Gotham via Std-Proposals wrote:
>>
>> Two years ago I wrote an audio server from scratch on Linux, which
>> allowed a 'one way phonecall'. I had one thread reading from the
>> network card, and another thread sending audio samples to the sound
>> card. I found Boost's container "single-producer single-consumer
>> queue" perfect for this:
>>
>> https://theboostcpplibraries.com/boost.lockfree
>>
>> They also have a lockfree stack.
>
> Oh wow... geeze I'm outdated.
>
> Do you know which one is faster?

Wow... Boost wins hands down!
https://max0x7ba.github.io/atomic_queue/html/benchmarks.html


-- 
Logo <https://www.fornux.com/>  
*Phil Bouchard*  facebook icon
<https://www.linkedin.com/in/phil-bouchard-5723a910/> 
Founder & CEO
T: (819) 328-4743
E: phil_at_[hidden]| www.fornux.com <http://www.fornux.com>
320-345 de la Gauchetière Ouest| Montréal (Qc), H2Z 0A2 Canada
Banner <https://goglobalawards.org/> Le message ci-dessus, ainsi que les
documents l'accompagnant, sont destinés uniquement aux personnes
identifiées et peuvent contenir des informations privilégiées,
confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce
message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named
recipients only and may contain privileged or confidential information
which is not to be disclosed. If you received this communication by
mistake please destroy all copies.

Received on 2023-08-03 22:36:16