this post was submitted on 21 Sep 2023
477 points (93.6% liked)

linuxmemes

21378 readers
1899 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] velovix@hedge.town 2 points 1 year ago (2 children)

    Don't Apple's chips have specific hardware support to make Rosetta 2 as effective as it is? I've been really hoping other manufacturers find a way to do something similar.

    [–] quarterlife@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago)

    Yes they do, and you can bet that'll go away as soon as Apple thinks x86 isn't important (to them).

    [–] Petter1@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

    I don’t know about hardware support, but I found this article on box86.org which seems to be the best alternative to rosetta on Linux. The performance drop on box64 vs native is still much greater than the performance drop in rosetta:

    https://box86.org/2022/03/box86-box64-vs-qemu-vs-fex-vs-rosetta2/

    Edit: many infos about Rosetta under the hood: https://github.com/FFRI/ProjectChampollion

    I found nothing, that implies that there would be specific hardware features in m1 for making the translation faster. Only that it does translation mainly ahead-of-time (AOT) and saves "that version" of the app somewhere as cache). I only scrolled through it and did not read it all, so maybe I missed it.