Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Rosetta (software)

From Wikipedia, the free encyclopedia
Operating system component
For other software products or projects named "Rosetta", seeRosetta Stone (software) andRosetta (disambiguation).

Rosetta
Rosetta 2 installation prompt
DeveloperApple Inc.
Operating systemMac OS X 10.4.4–10.6.8 (Intel host, emulating PowerPC)
macOS 11.0–present (ARM host, emulating Intel)
ARMLinux guest emulating Intel[1]
TypeBinary translation,emulation
Websitehttps://support.apple.com/en-us/102527

Rosetta is adynamic binary translator developed byApple Inc. formacOS, an application compatibility layer between differentinstruction set architectures. It enables a transition to newer hardware, by automatically translating software. The name is a reference to theRosetta Stone, the artifact which enabled translation ofEgyptian hieroglyphs.[2]

The first version of Rosetta was introduced in 2006 inMac OS X Tiger as part of theMac transition from PowerPC processors to Intel processors, allowingPowerPC applications to run onIntel-based Macs. Support for Rosetta was dropped withMac OS X Lion (10.7) in 2011.

Rosetta 2 was introduced in 2020 as a component ofmacOS Big Sur, and as part of theMac transition from Intel processors to Apple silicon, allowingIntel applications to run onApple silicon-based Macs.[3] Most Rosetta 2 features will be removed from macOS with version 28 in 2027.

Background

[edit]

Macintosh has used CPUs with several differentinstruction set architectures (ISA): theMotorola 68000 series,PowerPC, Intelx86, andARM64 inApple silicon. Each ISA is incompatible, necessitating a transition plan based on a software layer toemulate the previous ISA on the succeeding one.

With the launch ofPower Macintosh, theMac 68K emulator is part ofSystem 7.1.2 and later. This emulator uses PowerPC features and is embedded at the lowest levels of the operating system, integrated with theMac OS nanokernel. This means that the nanokernel is able to intercept PowerPC interrupts, translate them to 68k interrupts (then doing a mixed mode switch, if necessary), and then execute 68k code to handle the interrupts. This allows 68k and PowerPC code to be interspersed within the samefat binary.

Rosetta

[edit]
Mac transition to
Intel processors
Intel mobile processor

Apple launched Rosetta in 2006 upon theMac transition to Intel processors from PowerPC. It is inMac OS X Tiger 10.4.4 "Tiger", the version that launched thex86-based Macs, and allows many unmodifiedPowerPC applications to automatically run on Intel-based Mac computers. Rosetta is based onQuickTransit technology.[4] It has nographical user interface, and launches transparently, which led Apple to describe Rosetta as "the most amazing software you'll never see".[5] Rosetta is optionally installable inMac OS X 10.6 "Snow Leopard".[6] Rosetta is neither included nor supported inMac OS X 10.7 "Lion" (released in 2011) or later.[6]

Because of the greater architectural differences between Intel and PowerPC processors, Rosetta operates at a higher level than the 68000 emulator does, as auser-level program that can only intercept and emulate user-level code. It translatesG3,G4, andAltiVec instructions, but notG5. Although most commercial software for PowerPC-based Macs was compatible with these requirements and G4 systems were still widely used, developers must update any applications that rely on G5-specific instructions to work on Rosetta. Apple advised that applications with heavy user interaction but low computational needs (such asword processors) would be best suited to use with Rosetta, and applications with high computational needs (such as games,AutoCAD, orPhotoshop) would not.[7]

Rosetta 2

[edit]
Mac transition to
Apple silicon
The Apple M1

In 2020, Apple announced Rosetta 2 would be bundled withmacOS Big Sur, to aid in theMac transition to Apple silicon. The software permits many applications compiled exclusively for execution onx86-64-based processors to be translated for execution on Apple silicon.[3][8]

In addition to thejust-in-time (JIT) translation support, Rosetta 2 offersahead-of-time compilation (AOT), with the x86-64 code fully translated, just once, when an application without a universal binary is installed on an Apple silicon Mac.[9]

Rosetta 2's performance has been praised greatly.[10][11] In some benchmarks, x86-64-only programs performed better under Rosetta 2 on M1 than native x86-64. One of the key reasons why Rosetta 2 provides such a high level of translation efficiency is the support of x86-64memory ordering in the M1 SoC.[12] The SoC also has dedicated instructions for computing x86 flags.[13]

SincemacOS Ventura,Linuxguest operating systemvirtual machines can install Rosetta 2 as a guest runtime binary to run x86-64 Linux apps.[14][15]

AtWWDC 2025, Apple stated that most Rosetta 2 features will be removed from macOS with version 28 in 2027, with support limited to unmaintained games.[16]

See also

[edit]

References

[edit]
  1. ^"Running Intel Binaries in Linux VMs with Rosetta".Apple Inc. RetrievedAugust 7, 2022.
  2. ^Norr, Henry (January 27, 2006)."Core Duo iMacs debut speedy new chips".Macworld.
  3. ^abWarren, Tom (June 22, 2020)."Apple is switching Macs to its own processors starting later this year".The Verge. RetrievedJune 22, 2020.
  4. ^"The brains behind Apple's Rosetta: Transitive".CNET. June 8, 2005. RetrievedJanuary 9, 2023.
  5. ^"Rosetta". Apple. Archived fromthe original on January 13, 2006. RetrievedSeptember 5, 2011.
  6. ^abAppleInsider Staff (February 26, 2011)."Mac OS X Lion drops Front Row, Java runtime, Rosetta".AppleInsider. AppleInsider, Inc.Archived from the original on April 29, 2014. RetrievedFebruary 27, 2011.
  7. ^"Rosetta"(PDF).Universal Binary Programming Guidelines, Second Edition. Apple. Archived fromthe original(PDF) on August 3, 2012. RetrievedSeptember 5, 2011.
  8. ^Mayo, Benjamin (June 22, 2020)."Apple announces Mac architecture transition from Intel to its own ARM chips, offers emulation path".9to5Mac. RetrievedJune 23, 2020.
  9. ^WWDC2020 Keynote. Apple Inc. June 22, 2020. Event occurs at 1h39m37s.It translates the apps when you install them, so they can launch immediately and can be instantly responsive. Rosetta 2 can also translate code on the fly when needed.
  10. ^Evans, Jonny (November 19, 2020)."Everything you need to know about Rosetta 2 on Apple Silicon Macs".Computerworld. RetrievedDecember 8, 2020.
  11. ^"Yeah, Apple's M1 MacBook Pro is powerful, but it's the battery life that will blow you away".TechCrunch. November 17, 2020. RetrievedDecember 8, 2020.
  12. ^Wrenger, Lars; Töllner, Dominik; Lohmann, Daniel (April 1, 2024)."Analyzing the memory ordering models of the Apple M1".Journal of Systems Architecture.149 103102.doi:10.1016/j.sysarc.2024.103102.ISSN 1383-7621.
  13. ^Dougall, J (November 9, 2022)."Why is Rosetta 2 fast?". RetrievedAugust 15, 2023.ARM flag-manipulation extensions... Apple's secret extension...
  14. ^Proven, Liam (June 9, 2022)."Apple offers improved Linux support in macOS 13".The Register. RetrievedJanuary 6, 2023.
  15. ^Cunningham, Andrew (June 7, 2022)."Apple will allow Linux VMs to run Intel apps with Rosetta in macOS Ventura".Ars Technica. RetrievedJanuary 6, 2023.
  16. ^Cunningham, Andrew (June 9, 2025)."Apple details the end of Intel Mac support and a phaseout for Rosetta 2".Ars Technica. RetrievedJune 10, 2025.

External links

[edit]
Versions
Mac OS X
OS X
macOS
Predecessors
Applications
Core
applications
Developer
Tools
Xcode
Former
Former
Utilities
Discontinued
Technologies,
user interface
Deprecated
Discontinued
  • Italics denote upcoming products.
  •  Category
Retrieved from "https://en.wikipedia.org/w/index.php?title=Rosetta_(software)&oldid=1319612627"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp