1 / 9

Cross-platform

Cross-platform. Define Platform. A machine+Operating System(OS)=Platfom PC+Window XP = platform PC+Window 3.1= platform PDA+Palm OS =platform. The meaning of cross-platform. In software platform, refer to the program that can run on more than one type of operating system .

avidan
Download Presentation

Cross-platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cross-platform

  2. Define Platform • A machine+Operating System(OS)=Platfom • PC+Window XP = platform • PC+Window 3.1= platform • PDA+Palm OS =platform

  3. The meaning of cross-platform • In software platform, refer to the program that can run on more than one type of operating system. (e.g Windows/MAC OS/Unix/Linux ) • In hardware platform, refer to the program that can run on more than one type of hardware (e.g Intel and AMD, PC and MAC)

  4. Machine-independent Programming • A programming language that can run on different platforms is called machine independent or portable. **be reminded: “different platforms” means different O.S. and/or hardware

  5. Java • Can run on any operating system with an appropriate(適當的) Java Virtual Machine(JVM) software(called Write-Once-Run-Anywhere technology) that ensure the software developed with Java is cross-platforming. • Most platforms have its own JVM.

  6. Bytecode • Is an intermediate language that is executed by an interpreter(翻譯程式) called virtual machine. • Virtual machine converts bytecodes into machine codes that the computer can understand.

  7. With a programming language that produces bytecodes and a virtual machine for each platform ,source programs can be compiled(轉化成機器語言) into bytecodes once and are then able to run any platforms.

  8. With the machine-independent languages and the virtual machine software,programmers can develop applications which run on many different platforms.However,since the virtual machines have to translate the bytecodes into machine instructions,bytecode application is run slower than executable programs.

  9. End

More Related