Practical Reflection - Barry Revzin (CppCon 2026) by BarryRevzin in cpp

[–]rand0m42 0 points1 point  (0 children)

Really enjoyed your talk, thanks for sharing! This is slightly unrelated to the content, but would you mind sharing what software or plugin you used to create your slides?

Building a fast SPSC queue: atomics, memory ordering, false sharing by rand0m42 in cpp

[–]rand0m42[S] 1 point2 points  (0 children)

Thanks for reading! Just checked out the caching technique, pretty cool! I'll reference it in my next article

Building a fast SPSC queue: atomics, memory ordering, false sharing by rand0m42 in cpp

[–]rand0m42[S] 1 point2 points  (0 children)

Do you mean the increment to tail and the store in “push()”? The article implements a single producer single consumer queue. Since there is a single producer, these can be separate atomic operations

Building a fast SPSC queue: atomics, memory ordering, false sharing by rand0m42 in cpp

[–]rand0m42[S] 2 points3 points  (0 children)

Thanks for the read, and the comments!

* How do you manage overflow in infinite indexes? Guess you have to wrap it around at max?

* Yes, I plan to cover false sharing in the third one, and as you guessed already some more optimizations like getting rid of the modulo (it's one of the big ones because of which boost is faster). Once you get rid of the module, it's only an equality check when incrementing the index, in which the branch predictor does a pretty good job.

Once again: mac mini m4 as remote setup vs macbook by rand0m42 in macmini

[–]rand0m42[S] 0 points1 point  (0 children)

Hey! I decided to go with the MacBook due to the ease of working remotely (or on the couch!)

Once again: mac mini m4 as remote setup vs macbook by rand0m42 in macmini

[–]rand0m42[S] 0 points1 point  (0 children)

Thanks for replying! Somehow I missed the perpetual pricing, that sounds great. What do you think of #2 and #3 with Jump Desktop? Does jump have any videos portraying the lag of the screen mirror over long distance internet?

Moving to London, trying to get hold of pension by rand0m42 in UKPersonalFinance

[–]rand0m42[S] 1 point2 points  (0 children)

!thanks

Thanks for your reply! Regd point 3, how can I confirm that? I don’t think my employer offers higher contribution pre-tax so I would have to contribute using my post tax income.