How hard would it be to introduce a "Re-Compiler" instead of an interpreter? To convert PE -> ELF without having the source. The output would not have to be a user runnable file maybe just a cache? Possiable Speed up? To avoid copyright issues maybe the elf could require the pe to run? In my experience JIT Compiling or interpreting is much slower than a recompiled program... Let me know what you people think.
Jason Couture wrote:
How hard would it be to introduce a "Re-Compiler" instead of an interpreter? To convert PE -> ELF without having the source. The output would not have to be a user runnable file maybe just a cache? Possiable Speed up? To avoid copyright issues maybe the elf could require the pe to run? In my experience JIT Compiling or interpreting is much slower than a recompiled program... Let me know what you people think.
Wine is not an interpreter or a JIT compiler. It is a binary loader, so it loads a Windows program into memory, and jumps to the start address. The program itself will run exactly the same way as on a Windows machine, expect for the times when it calls an API function in a "builtin" or Wine implemented DLL.
Mike
On Mon, 2005-03-07 at 15:00 +0900, Mike McCormack wrote:
Jason Couture wrote:
How hard would it be to introduce a "Re-Compiler" instead of an interpreter? To convert PE -> ELF without having the source. The output would not have to be a user runnable file maybe just a cache? Possiable Speed up? To avoid copyright issues maybe the elf could require the pe to run? In my experience JIT Compiling or interpreting is much slower than a recompiled program... Let me know what you people think.
Wine is not an interpreter or a JIT compiler. It is a binary loader, so it loads a Windows program into memory, and jumps to the start address. The program itself will run exactly the same way as on a Windows machine, expect for the times when it calls an API function in a "builtin" or Wine implemented DLL.
Mike
This would make a nice FAQ entry.
--Scott
er.. I Just meant to convert PE -> ELF so that the programs could be run without wine. Just some *.dll.so files as depends... NM thought your are right it would make a good faq. Scott Ritchie wrote:
On Mon, 2005-03-07 at 15:00 +0900, Mike McCormack wrote:
Jason Couture wrote:
How hard would it be to introduce a "Re-Compiler" instead of an interpreter? To convert PE -> ELF without having the source. The output would not have to be a user runnable file maybe just a cache? Possiable Speed up? To avoid copyright issues maybe the elf could require the pe to run? In my experience JIT Compiling or interpreting is much slower than a recompiled program... Let me know what you people think.
Wine is not an interpreter or a JIT compiler. It is a binary loader, so it loads a Windows program into memory, and jumps to the start address. The program itself will run exactly the same way as on a Windows machine, expect for the times when it calls an API function in a "builtin" or Wine implemented DLL.
Mike
This would make a nice FAQ entry.
--Scott
On poniedziałek 07 marzec 2005 06:04 am, Jason Couture wrote:
er.. I Just meant to convert PE -> ELF so that the programs could be run without wine. Just some *.dll.so files as depends...
But that's what wine is all about. They would still use wine. A mere PE->ELF conversion doesn't make the program suddenly run without wine. The binary loader has the least impact AFAICT. Cheers, Kuba