Replies: 5 comments
-
Im really interested on seeing progress on this! What are you planning to use for the emulator, qemu, unicorn or something else? |
Beta Was this translation helpful? Give feedback.
-
Unicorn might be an option but not qemu. It all depends on how portable it is as well as how much insight I can get onto code execution. |
Beta Was this translation helpful? Give feedback.
-
likely dupe with #252 |
Beta Was this translation helpful? Give feedback.
-
Not really. That one is about rosetta-like binary translation. While interesting it provides a different set of features than an interpreting emulator. |
Beta Was this translation helpful? Give feedback.
-
Hey @mateli, I converted your issue into a discussion. I'm not sure if something like this can be upstream to Darling without Darling going through a major redesign. I do want to do something similar, but I require Darling to first support syscall user dispatch (See #944 (comment) for blockers) before I integrate any emulator into Darling. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Running ARM Mac or iOS applikations on x86 requires emulation of user mode instructions on recent processors.
Such an emulator can share libraries and other code with darwin but loading and running executables are obviously going to be very different.
The disadvantage of an emulator is that running arm code will be significantly slower than running native code.
However there will be significant advantages.
I'm going to start working on this soon. First step will be to load simple binaries into memory and learning the binary formats
Binary translation will not be on the table for this project although there are other potential optimizations
Looking forward to all kinds of hints on how to do this.
Beta Was this translation helpful? Give feedback.
All reactions