Sunday, 29 December 2019

Re: [Rpcemu] Startup question.

The recompiler converts sections of ARM code as used by Acorn machines to the system's native code (x86 on PC) which are then executed directly which usually gives a speed boost compared to interpretation.
The interpreter looks at each ARM instruction in turn and processes it without actually converting it. There are a few rare situations where the dynamic recompiler makes mistakes so it's basically a tradeoff between accuracy and speed. In general the recompiler works fine but if you run into problems, you can try the slower interpreter. You'll find recompiler/interpreter choices in many emulators for exactly this reason.
The reason there's two different executables to choose between interpreter and recompiler is just an oddity specific to RPCEmu, most emulators just have the one executable and then let you configure it in the options.

On Sun, 29 Dec 2019 at 07:47, Dave <dave@triffid.co.uk> wrote:
RPCEmu 0.9.2 on Win 10 Pro 64bit.
Running RISC OS 6.20 and RISC OS 5.27

I was recently asked by a shoulder over-looker...
What's the difference between "Recompiler.exe" and "Interpreter.exe"?
And immediately followed on with, "Why two different ways to Run
something"?

I have absolutely no idea, so couldn't answer.

Is there an answer to each of the above questions?

Thanks
Dave

--

Dave Triffid

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

No comments:

Post a Comment