A new C++23 proposal, P4313R1, adds a [[=std::bitmask_type]] annotation to enums, enabling automatic bitwise operations for enum classes. This feature simplifies working with enums representing flags by eliminating the need to manually define operators, leveraging a C++26 annotation to opt-in. The discussion also highlights how integral promotions affect bitwise operations on smaller types like shorts, which are promoted to int during computation.
dryperspective.github.io
· 2026-10-04
Bitcoin surged past $85,000 on Monday morning, hitting an intraday high of $85,229 before settling near $84,256, a gain of roughly 3.8% on the day. The move extends a multi-day rally that has pushed the token up more than 7% over five days and nearly 35% over three months, though it remains far below its October peak above $126,000.
cnbc.com
· 2026-09-21
A technical blog post walks through how the bitap (shift-and) algorithm finds a pattern inside a text, building it up step by step from the naive brute-force matching approach. The author shows how the method can be adapted to process text as a stream of characters rather than requiring the whole string in memory, and highlights its use of bitwise operations for efficiency when the search pattern is shorter than a machine word.
jo3-l.dev
· 2026-09-08