top | item 36184660

(no title)

lolsowrong | 2 years ago

Yes.

https://developer.apple.com/documentation/virtualization/run...

discuss

order

satysin|2 years ago

Well damn that is pretty cool. I’ve not used UTM or the Apple Virt Framework but gonna have to look into that now! Thank you for the link.

weikju|2 years ago

UTM also have their own docs on it:

https://docs.getutm.app/advanced/rosetta/

And FYI, this is also available in Docker Desktop for macOS, which allows better performance when running x86_64 containers compared to the older solution where Docker was using qemu.

arianvanp|2 years ago

downside is that there is no JIT-cache so it's much slower than Rosetta on Mac as it always does the translation on demand

askforafriend|2 years ago

On the run so apologies for not reading the docs you attached yet but I’ve been having a helluva time trying to cross-compile rust from an M1 for x86_64. Will this method help in this situation? I’ve tried running an x86_64 vm in emulation to compile rust bits it excruciatingly slow.