this post was submitted on 20 May 2024
208 points (94.4% liked)

Technology

59569 readers
3825 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 3 points 6 months ago (8 children)
[–] vox@sopuli.xyz 0 points 6 months ago (4 children)
[–] possiblylinux127@lemmy.zip 1 points 6 months ago (3 children)

I'm not sure that means anything. For it to be hardware accelerated you would need a amd64 cpu

[–] vox@sopuli.xyz 0 points 6 months ago* (last edited 6 months ago) (1 children)

both apple m cpus and snapdragon have hardware magic to make translation viable when paired with usermode tools like Rozetta or Prism
otherwise it's painfully slow, as demonstrated by both box64 and fex.

[–] possiblylinux127@lemmy.zip 0 points 6 months ago (1 children)

Do you have a source for that? It seems like that would defeat the purpose of using ARM.

[–] vox@sopuli.xyz 1 points 6 months ago* (last edited 6 months ago)

well apple cpus have a hardware flag which slightly changes side effects of some existing arm instructions AND completely changes the memory model to one that imitates Intel x86 for the current thread. (TSO)

with this flag enabled, the code can be almost fully recompiled ahead-of-time (from x86_64 to arm64) with minimal overhead (no need to remap memory addresses etc), with no reason to resort to e.g. jit recompilation on the fly (which is exactly what box64 does all the time)

i assume snapdragon and microsoft are doing a similar thing (it definitely involves some hw magic too, maybe not exactly the same as in apple) since it's seemingly the only way to achieve parity with apple in terms of performance

load more comments (1 replies)
load more comments (1 replies)
load more comments (4 replies)