Morning Fold
en

Clang

  1. C / C++

    clice v1.0 Released

    The first stable release of clice, a C/C++ language server built on LLVM/Clang and written in C++23 with coroutines and named modules. It follows 1,000 commits and about four months of nightly alpha testing.

  2. C / C++

    Pointer Provenance in Rust vs C++

    Explains pointer provenance as the compiler's tracking of which allocation a pointer derives from, and shows how to inspect it in LLVM IR, using a Clang optimization example.

  3. Rust

    Pointer Provenance in Rust vs C++

    Explains pointer provenance as the compiler's tracking of which allocation a pointer may access. Using Clang and LLVM IR, it shows why an opaque call cannot modify a local variable through an unrelated pointer.

  4. C / C++

    Making SIMD Code Scale to Any Vector Width

    Shows how to transpose vec3/vec4 math into SIMD lanes so N dot products and frustum culling scale to 8 or 16 wide, with benchmarks on a Ryzen 7 5800 under Clang.

  5. C / C++

    Attention people who think UB is fine

    Compiler output from GCC and Clang shows that undefined behavior can run code that was never called, and that a null pointer write is not guaranteed to segfault. The post explains why.

Add Morning Fold to your home screen

  1. Tap the Share button <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 15V4M7.5 8.5 12 4l4.5 4.5M5 13v5.5A1.5 1.5 0 0 0 6.5 20h11a1.5 1.5 0 0 0 1.5-1.5V13"/></svg> at the bottom of Safari.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. Morning Fold opens from its icon, full screen.

Create a free account

Morning Fold is free. Already have an account? Log in