Log In
Log In

Next Post

  • Sam's Q1 2024 Update
    Link
    Migration of Boost download CDN to Fastly was performed, TLS and load balancers were configured, Boost website deployment was automated, release scripts were updated, Mailman environments were set up, wowbagger upgrades were discussed, and Jenkins and Drone jobs were adjusted.
  • The Address is Not The Place: Object Residency in C++26
    Blog #Bimap
    Memory tiering matters as DRAM costs rise. C++ lacks native residency terminology. OS and compiler solutions stay opaque. C++26 reflection and annotations empower devs. An open‑source library shows tier‑aware allocation. Future‑ready. Tiered memory works.
  • Rotation revisited: Cycle decomposition in clang’s libcxx
    News #Bimap
    The implementation of array rotation in clang’s libcxx is discussed, emphasizing that the minimal number of element swaps, roughly half the total size, is achieved. A permutation view of the rotation is employed, and the algorithm is described as traversing each cycle of that permutation. The number of cycles is indicated to be the greatest common divisor of the two segment lengths, denoted a and b. Each k‑th cycle is started at the element offset k from the beginning and proceeds by advancing a positions with wrap‑around until the start is reached again. An example with segment lengths 4 and 6 is provided, illustrating the sequence of positions visited within a single cycle. It is highlighted that this cycle‑based method attains the optimal swap count. The approach is contrasted with simpler but less efficient techniques.