Jump to content

Talk:Binary translation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

More historical examples

[edit]

To do: a few more historical examples. Including FX!32, IA-32 Execution Layer, HP Dynamo, Valgrind? — Preceding unsigned comment added by Ferkelparade (talkcontribs) 14:16, 8 November 2005‎ (UTC

The article mentions FX!32 and the IA-32 Execution Layer. Guy Harris (talk) 17:02, 25 March 2014 (UTC)[reply]

Apple's 68K emulator

[edit]

I believe that Mac OS 8.5 was fully PPC native, whereas the article states that it wasn't until OS X. Somebody care to confirm this? - David McCabe (talk) 05:16, 2 July 2008 (UTC)[reply]

qemu

[edit]

qemu - is it a binary translation? — Preceding unsigned comment added by A5b (talkcontribs) 23:50, 2 June 2010‎ (UTC)[reply]

According to the home page of the QEMU wiki as of right now, it uses binary translation. Guy Harris (talk) 14:54, 25 March 2014 (UTC)[reply]
[edit]

Hello fellow Wikipedians,

I have just modified one external link on Binary translation. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

checkY An editor has reviewed this edit and fixed any errors that were found.

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 19:38, 2 November 2016 (UTC)[reply]

Worked, but I changed the reference to use {{cite web}} and used a later archived copy. Guy Harris (talk) 19:58, 2 November 2016 (UTC)[reply]

Binary *translation* vs. binary *recompilation*

[edit]

We have pages binary translation and binary recompilation, and it's not obvious which forms of "take machine code as input and produce machine code as output" correspond to those terms.

Binary recompilation says:

A binary recompiler is a compiler that takes executable binary files as input, analyzes their structure, applies transformations and optimizations, and outputs new optimized executable binaries.

which could include all those forms, although "and outputs new optimized executable binaries" suggests that this specifically refers to optimization, and that doesn't speak of generating binaries for an instruction set different from the input instruction set.

Binary translation says:

In computing, binary translation is a form of binary recompilation where sequences of instructions are translated from a source instruction set to the target instruction set.

which seems to imply that it's for turning machine code for one instruction set into machine code for another instruction set, but then says

In some cases such as instruction set simulation, the target instruction set may be the same as the source instruction set, providing testing and debugging features such as instruction trace, conditional breakpoints and hot spot detection.

which sounds like the exact same thing as binary recompilation.

So should we just merge the pages, or should "recompilation" refer to processing that goes from one instruction set to the same instruction set, and "translation" refer to processing that goes from one instruction set to a different instruction set, or what? Guy Harris (talk) 21:17, 5 January 2018 (UTC)[reply]