An unofficial, read-only Hacker News reader. Join the beta →

Worshipping at the altar of Brendan Gregg (opens external site)

241 points by kqr 4 days ago | fzakaria.com | 47 comments on HN

View full thread · View on Hacker News

Comment thread (4)

  1. I see. I am not familiar with deterministic VMs. I can see how it can intercept all system calls. I guess randomness is deterministic as well because all the inputs to the RNG are deterministic. So everything is a deterministic state machine.
    Replies (1)
    1. I wrote https://fzakaria.com/2026/10/24/dafuq-is-a-deterministic-vm this for a friend to better understand what it is.
      Replies (1)
      1. Thanks for sharing.

        > Give a CPU the same registers, the same memory and the same instructions, and it computes the same result.

        So is branch prediction, cacheline misses, memory accesses I guess.

        > One more outside influence is easy to miss: other CPUs. On two cores, which thread wins a race comes down to cache misses and pipeline stalls, so Rewind provides a single virtual CPU and the threads take turns on it.

        Is this a limitation in practice? With a single virtual cpu, data races simply can't happen?

        Replies (1)
        1. they are no longer possible due to timing from the hardware.