cross platform


Also found in: Dictionary, Thesaurus, Medical, Financial, Acronyms.

cross platform

Developing software for, or running software on, more than one type of hardware platform. The most universal cross platform application is the Web browser. Written for every desktop computer and mobile platform, Web browsers render Web pages "almost" the same no matter which computer they run on. The Web browser fits into the "Compile to Machine Language" category below.

The most universal cross platform development language is Java, which falls into the "Compile to an Intermediate Language" category below.

Developer Issues


Cross platform is a major issue for software developers who want to sell to users no matter which desktop platform they run (Windows, Mac or Linux). There are two primary methods for developing such programs. The first is to compile an executable program into the operating environment (machine language and OS) of each target computer. The second is to use an intermediate language and compile only once.

Compile to Machine Language
The least desired method for developers is to maintain separate sets of source code for the same application; however, it is done routinely when the machine platforms are diverse. For example, C++ applications are compiled directly to the machine language of the target computer. If C++ is used to write a program for Windows and the Macintosh, two separate sets of source code are typically used; one for Windows, one for Mac.

If differences in code are minimal, such as a utility program that runs on Windows and Unix, but displays only typewriter-like totals at the end, small blocks of alternate code can be embedded within one set of source code, and compiler settings determine which block to compile. See console app.

Compile to an Intermediate Language
The second method uses an interpreter such as a Java Virtual Machine. Java is cross platform because a program's source code is compiled into an intermediate "bytecode" language. The bytecode is then executed by a Java Virtual Machine (Java interpreter) that was written for that particular hardware platform.

The bytecode is expected to be executed in the same manner on all hardware platforms with Java Virtual Machines. The problems arise when the Java interpreter is not as up-to-date as the Java development system that created the program or the Java interpreter is not faithfully interpreting the bytecode according to a standard. See Java and LiveCode.
References in periodicals archive ?
DigiDocs 360 hosts panels and master classes addressing the challenges of the cross-platform world, and it also hosts the Cross Platform Pitching Competitions, with 15,000 [pounds sterling] ($18,950) development investment prizes.
- An awesome Return On Investment (ROI), with cross platform support and a low cost per GigaByte traditionally unknown in Fibre products of this class
An engineering department, for example, may implement NAS to solve cross platform issues.
TimeSys Corporation, Pittsburgh, a pioneer and leader in Embedded Linux(R) and Java(TM) development technologies, has introduced a complete embedded Linux solution, including a full Linux distribution with the lowest-latency Linux kernel available, certified device drivers, GNU toolchains, cross platform development tools, and performance enhancing load able kernel modules, for Motorola's MVME2433-3 and MVME5100-0131 single board computers (SBC) built on the PowerPC 750(TM) processor.
OpenLink Software, Inc., Burlington, Mass., a provider of enterprise middleware, has launched the commercial release of Virtuoso 2.7 -- the latest installment of its cross platform, multi-purpose, and multi-protocol server for SQL, XML, and Web Services.