[HN Gopher] Reverse-engineering Rosetta 2 Part 1: Analyzing AoT ...
___________________________________________________________________
Reverse-engineering Rosetta 2 Part 1: Analyzing AoT files and the
runtime
Author : my123
Score : 41 points
Date : 2021-03-04 19:27 UTC (3 hours ago)
(HTM) web link (ffri.github.io)
(TXT) w3m dump (ffri.github.io)
| rapidlua wrote:
| I wonder if they do indeed compute a checksum of the binary to
| come up with a aot-translation cache key. Must be quite
| ineffficient.
| Slartie wrote:
| Not if your SSD delivers data at more than 2500MB/sec, as the
| one in the MacBook Air with M1 does. SHA256 calculation can
| probably be performed at that speed as well, thanks to
| dedicated silicon, so even a large 250MB binary (haven't seen
| those in any other use case than browsers) would be hashed in a
| tenth of a second. Not noticeable at all, if it's just once, at
| startup.
___________________________________________________________________
(page generated 2021-03-04 23:01 UTC)