On finding the average of two unsigned integers without overflow

A flexible, lightweight, spin-lock barrier

POSIX hardlink heartache

Issue #186



Okay I lied yesterday, the issues are probably going to be later in the day all week. Hopefully that doesn't mess with anyone too much. Just have too much traveling at the moment, and it appears that my phone is compatible with the new data contract I got, because it doesn't let me get a better connection than edge. I'm basically hopping between wifis, which makes it hard to get anything done while traveling. Kind of crazy how slow the internet is in edge. Websites have become so bloated. Anyway, here's the issue.


Today's Sponsor: DevRelate.io

Developer and Community Relations as a Service. Reach out to the developers and communities you need to make your world better. Content development and curation, event services, community outreach, and more. Learn more at https://devrelate.io or reach out [email protected]


On finding the average of two unsigned integers without overflow

Published: 7 February 2022
Tags: assembly, c

Raymond Chen demonstrates how to average big numbers without breaking everything.


A flexible, lightweight, spin-lock barrier

Published: 13 March 2022
Tags: c, go

Chris Wellons explains how he developed the titular feature while trying out a memory reordering experiment in C11 and Go.


POSIX hardlink heartache

Published: 5 December 2020
Tags: infosec, linux

Michael Orlitzky illuminates how hardlinks on UNIX systems can be exploited.

Want to help and get cool stuff?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com or the buttons below.

Your referrals:

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, Joe Hill, Astrid Sapphire, Gregory Mazzola, moki scott, Michael, Matt Braun, Tim Nash, Christoffer, and Mike Rhodes this newsletter is provided to you for free. If you'd like to also show your support and buy me a monthly meal, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.

Stats (updated daily)

Sent: 2742

Opens: 1296

Clicks: 291

Link Clicks Clicks % Unique Clicks Unique Clicks %
On finding the average of two unsigned integers without overflow 136 61.26% 148 61.92
A flexible, lightweight, spin-lock barrier 86 38.74% 91 38.08
POSIX hardlink heartache Awaiting Update Awaiting Update Awaiting Update Awaiting Update


Back to Issues