On MovieTome: The next Spider-Man villain?
BNET Business Network:
BNET
TechRepublic
ZDNet
TalkBack 20 of 20:
« Previous
how to make a fast code translation
First of all, Richard Flude's point about the program spending
80%+ of the time in the OS is a valid point that I was going to
make.
The other point is that, in a binary, all the entry points are
generally labelled, and therefore branch points are discoverable.
It is pretty easy to replace machine code from one CPU with the
machine code of another CPU if you can amend the branch
addresses. (even calculated ones).
I get the feeling rosetta is an emulator, whereas I'm talking
about something like a JIT compiler, which compiles java
bytecode to machine code for the host processor.
The difference would be, like the early Jikes, you simply keep the
JIT compiled output forever.
There will be sequences of translated code that is wasteful, but
these can be identified purely in binary pattern terms, and
therefore optimised out.
So frankly, I'd be amazed if one couldn't get to the stage where
there was (for equivalent MIPS) only something like a 5% drop in
performance. As the x86 generation CPUs that apple will use will
likely be faster than exisitng CPUs, then the upgrader will
probabaly still see his old apps run faster (until he downloads
the x86 binary).
Apple could make the transition easier by giving a tool that goes
away, finds all the installed apps, and downloads the x86
versions instead.
Posted by: hipparchus2000   Posted on: 06/10/05 You are currently: a Guest | Members login | Terms of Use

Alert moderator to an offensive message

Subscribe to this discussion via Email or RSS

That being said...  DebianDog | 06/08/05
When  cashaww | 06/08/05
So, assuming it will give you 60 - 80%.  James Dean_z | 06/08/05
It's a tough call  tic swayback | 06/08/05
The good news is ...  ShadeTree | 06/08/05
You're smoking dope...  DebianDog | 06/08/05
smoking dope?  unoriginal_sin | 08/10/07
Benchmarks show the numbers aren't that great  tic swayback | 06/08/05
Only part of the story  Richard Flude | 06/08/05
Number don't need to be "that great", just "good enough"  Prognosticator | 06/10/05
Let's look at my choices then  tic swayback | 06/10/05
You guys really should be happy about this  zeusfuse | 06/10/05
I have mixed feelings  tic swayback | 06/10/05
Forget todays bunchmarks  Ken_z | 06/11/05
Counterpoint  tic swayback | 06/12/05
x86 on PPC  rkadowns | 06/08/05
Excuse me...  rkadowns | 06/08/05
Where is the ZDNet Dashboard Widget?  mlindl | 06/08/05
Mac Mini means Classic support isn't a deal-breaker  YuridaMan | 06/08/05
how to make a fast code translation  hipparchus2000 | 06/10/05

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
  • Smart Tech Expert advice on innovations in healthcare and the green technologies that make it happen. Find out more
  • Smart Business Discussion and advice on management issues that revolve around making your world smarter and more useful. More Smart Advice
  • Smart People The best and worst moves in the management and strategy trenches. Learn More