Conditional Members

Loop Fission

How Does NTP Work?

Issue #135



Hehe, hi
Last issue before the weekend! Hope you have a good one.


Conditional Members

Published: 21 November 2021
Tags: cpp

Conditional members can be thought of as things that should exist conditionally in a C++20 template when certain conditions are met. In this informative article, Barry Revzin uncovers how conditional member functions, conditional member variables, and conditional member types can be implemented using C++20 concepts.


Loop Fission

Published: 27 November 2021
Tags: java

Loop fission is usually done by the compiler (although you can use it in your own coding to) to break up big loops into smaller loops, which can then potentially be optimized on their own. In this article, Richard Startin presents two examples where manually fissioning his loops resulted in better performance when using Java's C2 compiler.


How Does NTP Work?

Published: 23 November 2021
Tags: networking

Hope you've been keeping all of that networking knowledge from previous articles sharp, because this one by Kevin Sookocheff is all about the Network Time Protocol (NTP). It's not actually tied to the previous articles, it would just be a nice cherry on top. Kevin explains the NTP network architecture, the local clock model, the phase and frequency locked loop, the algorithm for keeping clocks synchronized, and message format.

Want to help?

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!

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, and Joe Hill 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: 2579

Opens: 1299

Clicks: 352

Link Clicks Clicks % Unique Clicks Unique Clicks %
Conditional Members 75 22.06% 68 21.45
Loop Fission 89 26.18% 87 27.44
How Does NTP Work? 176 51.76% 162 51.10


Back to Issues