Rosetta (software)

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Rosetta

PowerPC application (Microsoft Word for Mac 2004) running on OS X for Intel
Developer: Apple Inc.
OS: Mac OS X
Genre: PowerPC binary translation
Website: http://www.apple.com/rosetta

Rosetta is a lightweight dynamic translator for Mac OS X distributed by Apple. It enables applications compiled for the PowerPC family of processors to run on Apple systems that use Intel processors. Rosetta is based on Transitive Corporation's QuickTransit technology[1], and it is a key part of Apple's strategy for the transition of their Macintosh line from PowerPC to Intel processors as it enables pre-existing Mac OS X software to run on the new platform without modification. The name is likely to be a reference to the Rosetta Stone, whose discovery made it possible to comprehend and translate Egyptian hieroglyphs.

Rosetta has no GUI, leading Apple to describe Rosetta as "the most amazing software you'll never see". [2]

Contents

Apple Intel transition

Architecture
Universal binary
Boot Camp
Rosetta

 This box: view  talk  edit 

Rosetta is part of the Mac OS X for Intel operating system. It translates G3, G4 and AltiVec instructions; however, it does not translate G5 instructions. Therefore applications that rely on G5-specific instruction sets must be modified by their developers to work on Intel-based Macs.

According to Apple, applications with heavy user interaction but low computational needs (such as word processors) are well suited to translation via Rosetta, while applications with high computational needs (such as raytracers or Photoshop) are not[3]. Pre-existing PowerPC versions of Apple "Pro" media-production applications (such as Final Cut, Motion, Aperture and Logic Pro, et al) are not supported by Rosetta, and require a "crossgrade" to a universal binary version to work on Intel-based Macs.

In general, Rosetta does not run the following[4]:

  • The Classic environment, and thus anything built for Mac OS 9 or below.
  • Code that inserts preferences into the System Preferences pane.
  • Applications that require a G5 processor.
  • Screen savers
  • Kernel extensions, and applications that depend on them.
  • Bundled Java applications or Java applications with JNI libraries that can’t be translated.
  • Java applets in Rosetta-translated applications. That means a PowerPC-only web browser application (such as Microsoft's legacy Internet Explorer for Mac) will not be able to load Java applets; an Intel-ready browser is needed (such as Safari, Camino, Firefox or Opera from version 9 and on).

The reasons for Rosetta’s lesser capabilities as compared with Apple’s earlier 68k emulator for PPCs lie within its implementation. While Rosetta is merely a userland program that can only intercept and emulate userland code, the older emulator was located at a much lower level.

The 68k emulator was given access to the very lowest levels of the OS by being at the same level as, and tightly connected to, the Mac OS nanokernel on PPC Macs (later used for multiprocessing under Mac OS 8.6 and later too), which means that the nanokernel was able to intercept PowerPC interrupts, translate them to 68k interrupts, then doing a mixed mode switch, if necessary, and then executing 68k code to handle the interrupts. This even allowed lines of 68k and PPC code to be mixed within the same source file of a fat application.

While a similar effect could likely have been achieved for Mac OS X by running Rosetta within XNU, Apple instead chose to implement Rosetta as a userland process to avoid troublesome debugging.

  1. ^ The brains behind Apple's Rosetta: Transitive. CNET News.com. Retrieved on 2007-07-04.
  2. ^ Apple (UK and Ireland) - Rosetta. Apple. Retrieved on 2007-08-25.
  3. ^ Rosetta. Universal Binary Programming Guidelines, Second Edition. Apple. Retrieved on 2007-07-04.
  4. ^ What Can Be Translated?. Universal Binary Programming Guidelines, Second Edition. Apple. Retrieved on 2007-07-04.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.