Is there anyone who can give me detailed advice on the difference between these two things and where can I get them?
I couldn’t see the article you mention, but in single sentences…
an EMULATOR is a proxy of a processing system that replicates the functionality of that original system without the actual hardware,
a COMPILER takes the programmer’s instructions, and interprets/rearranges them into a binary form that can be directly executed y the ‘target’ system,
Once ‘compiled’, that binary code may be copied ad run as many times on identical hardware as required without recompiling.
If suitable, the same ‘source code’ may be compiled for different, disparate systems with regard the ant hardware differences,