Get the latest tech news

Emulating aarch64 in software using JIT compilation and Rust


Manos Pitsidianakis - epilys

I copy pasted its code in my emulator, changed the output to be printed to stdout instead of QEMU’s character backends, and it just worked right away – the perks of writing Rust. Unit tests: Under tests/, there are many small functions that create a tiny VM instance, map a few lines of assembly to its memory, run it and check the register state against the expected outcome. I’m also particularly interested in finding a nice way to either generate codegen code or at least test cases with the SAIL specification of the Arm ISA, hopefully when I have time.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of software

software

Photo of Rust

Rust

Photo of jit

jit

Related news:

News photo

Software commands 40% of cybersecurity budgets as gen AI attacks execute in milliseconds

News photo

Data engineering and software engineering are converging

News photo

‘Full of bugs’: how the world’s biggest carmakers fell behind in software