Comment

Comment by Retr0id

> The demo is run on an x86 emulator that records every block of code the CPU actually executes, over the whole demo.

> That recording is translated into C - the original instructions, one for one, with the exact cycle timing of the emulated machine.

What's the advantage of this approach vs cycle-accurate emulation? (I'd guess it can go faster, due to compiler optimization?)

> The result is checked against the emulator event for event: every interrupt, port access and frame at the same moment of emulated time.

It's funny how LLMs leak their test procedure docs into user-facing output.

parent Retr0id 24 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton