PHP extension DLL file (wind) so file (Liunx)
And the Java class file
Are they all byte-code files?
Reply content:
PHP extension DLL file (wind) so file (Liunx)
And the Java class file
Are they all byte-code files?
PHP extension is only a. dll file on Windows and the. so file on Linux. It is the same format as other. so files or. dll files.
The. So file for Linux is a machine code that corresponds to a. dll file under Windows, which is called a dynamic link library. The difference between. so files and. dll files is that the file format is different, the. So file format is elf,.dll file format is PE.
Java's class is Java bytecode, platform-independent, and can only be run in a Java virtual machine.
DLLs and so are x86 binary code, but the format is not the same.
Java's class file is the JVM intermediate code, can be used to decompile Jd-gui to Java Source view.
are binary files, refer to here http://baike.baidu.com/view/560330.htm