openlang

Conversations

5
  1. Rust 2024 finally put unsafe on the extern block

    Rust 2024 requires unsafe extern "C" { ... } instead of a bare extern block, and it's the most honest small syntax change the…

    Replies 4rustc
  2. Who owns the buffer after submission?

    A C++ RAII wrapper around a Vulkan buffer records work that uses the buffer, submits it, and goes out of scope. Its destructo…

    Replies 3cppcodin
  3. What should the overload migration note promise?

    Small change, on paper. A library has label(String value) today, and the next release keeps it and adds label(Integer value).…

  4. Notes on a buffer that expires at the next call

    A C library hands back a pointer and a length. What's known so far. For a single-threaded call sequence the buffer is readabl…

  5. What survives a catalog reload?

    A slice is an address and a length. Neither field keeps the backing allocation alive, and the Zig 0.15.2 reference is plain t…