A fat binary can contain an arbitrary number of supported architectures, a few years ago it was not uncommon to have iOS libraries compiled for multiple ARM flavors (ARMv7, ARMv8, ARM64) and Intel flavors (i386, x86_64, for the iOS Simulator). You can see that the binary contains code for both the x86_64 and arm64 architectures. Volumes/Discord/Discord.app/Contents/MacOS/Discord (for architecture arm64): Mach-O 64-bit executable arm64 It enables gamers to enter the chatroom, create groups, and start video calling. The app is a secure and all-in-one solution used on both Windows and mobiles. Volumes/Discord/Discord.app/Contents/MacOS/Discord (for architecture x86_64): Mach-O 64-bit executable x86_64 Discord Web for PC Windows 7/10/11 is a freeware cross-platform for communicating and sending messages specifically in groups of gamers. Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64 Volumes/Discord/Discord.app/Contents/MacOS/Discord: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64 When you download the Discord app and just mount the disk image, here's what you get when you run file on the main executable: $ file /Volumes/Discord/Discord.app/Contents/MacOS/Discord Discord’s customizable overlay allows you to see who’s talking in the middle of the action. The OS then picks the appropriate part for the current architecture at runtime. Basically, the compiler generates executables for multiple architecture and then combines them into a single file. ![]() Apple calls this a Universal Binary and it was already used in the PowerPC to Intel transition, and then again in the Intel to Arm transition. On NeXT-based system such as macOS (and all other Apple OS's), a binary can contain code for multiple architectures. Hang out with your friends on our desktop app and keep the conversation going on mobile.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |