this post was submitted on 06 Aug 2024
547 points (97.6% liked)
linuxmemes
21210 readers
38 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
Quick Emulator
(At least it was when it was written. Rosetta blows it out of the water.)
What is Rosetta?
Apple's x86->ARM transpiler
(It accomplishes this by "cheating" and turning on a feature only found in Apple Silicon that make concurrent memory access rules more similar to x86, but still)
How does that apply to qemu?
Qemu is an emulator designed to allow you to run software for one architecture on another, much like Rosetta does. Qemu has gained the ability to run native virtual machines using hardware virtualization, which it does astonishingly well, but its original purpose is emulation. In terms of quickness, though, more modern offerings run circles around it
Do you have benchmarks to confirm that hardware accelerated virtualization on qemu is slow? It is what powers a lot of things including hypervisors like Proxmox. It also supports hyper-v acceleration. As far as Apple is concerned no one is really running a Mac so that isn't a useful comparison.
I didn't say hardware accelerated virtualization on qemu was slow. In fact, it's one of the best performing hypervisors out there. When used as an emulator, however, its performance leaves something to be desired.
Even as a emulator it is very solid. Name one emulator that is faster. (Rosetta is a translator not an emulator)
...the difference being? JIT transpilers still count as emulators.
They really don't. A emulator is doing all of the hardware in software. A translator is just converting instructions.
By that definition, qemu-[architecture] is a translator. qemu-system-[architecture] is an emulator.
And it's still a worse translator than Rosetta. Because Rosetta cheats.