Mehdi Akiki

Posts tagged "rust"

  • Published on

    Investigation · Part 12 of 20 · When the benchmark lies

    How Many Benchmark Runs Are Enough

    I ran the same sort in 300 fresh processes, in three sets of 100. Each set gave a median with a narrow bootstrap interval, and the intervals did not agree. More runs make the interval smaller, but only if the runs are independent, and on my laptop they were not.
  • Published on
    Rust's incremental cache is a dependency graph, not a saved compiler process. Learn what an edit dirties, how green nodes are recovered, and why Cargo may still run rustc.
  • Published on

    Investigation · Part 12 of 20 · From source to a running process

    Reading /proc/self/maps Line by Line

    I printed the memory map of a small C program and of a Rust program and explained every column and every line, then watched the addresses move with ASLR, stop moving with setarch -R, and go back to 0x400000 with -no-pie.