Tag
The article presents fast algorithms for calculating the day-of-the-week from a day count, using bit manipulation and modulus techniques that outperform existing solutions, with implementations tuned for different platforms and use cases.
This article explains how HotSpot's C2 JIT compiler uses a 'known bits' abstraction to track which bits of an integer are definitely zero or one, enabling optimizations like eliminating redundant bitwise AND operations.
An introductory article on systems programming covering fundamentals such as bit manipulation, parsing, filesystems, syscalls, and memory management, targeted at programmers.