News for hackers. Stuff that matters.
Re:Reverse-engineering Rosetta 2 Part 1: Analyzing AoT files... by mhh__ on Thursday March 04, 2021 @10:24PM (#26352207)
Is it? Checksums are something that I use rather than understand, but the CPU is doing billions of instructions per second these days and the hash only happens once
Re:Reverse-engineering Rosetta 2 Part 1: Analyzing AoT files... by rapidlua on Friday March 05, 2021 @01:50AM (#26353656)
Do openssl speed sha256 to get the idea how high the latency for a cache hit would be. I see a throughput of ~300MiB/sec. This can be parallelised easily but still we are burning lots of CPU cycles for nothing. Bad for battery life.

https://gist.github.com/nonylene/d08977e8952c83d20d2c5f7cbaf...