头皮屑多是什么原因引起的| 亚麻酸是什么东西| 荷叶和山楂一起泡水有什么功效| 做b超挂什么科| 品牌pr是什么意思| 什么是肝炎| 分野是什么意思| 什么是透析治疗| 火代表什么数字| 吃什么头发长的快| o和ab型生的孩子是什么血型| 家里起火代表什么预兆| 梦见抢银行是什么意思| 一年一片避孕药叫什么| 牙龈肿胀什么原因| 手发抖是什么原因引起的年轻人| 手信是什么意思| 皮肤软组织感染用什么消炎药| 桑葚什么季节成熟| 元气大伤什么意思| 什么是我的| 什么样的春天| 爱放屁什么原因| 旦辞爷娘去的旦是什么意思| 银杏果长什么样| hpv初期有什么症状女性| 正月是什么意思| 冰箱什么牌子好又省电质量又好| 拉大便出血是什么原因| 摩羯座女和什么座最配| 狗狗狂犬疫苗什么时候打| 神经外科和神经内科有什么区别| 房速是什么意思| 黄瓜为什么不叫绿瓜| 你代表什么意思| 夏天喝绿茶有什么好处| 形态是什么意思| 蝉蛹是什么| 大便发黑是什么原因| 浅蓝色配什么颜色好看| 女生排卵期是什么意思| 表哥的儿子叫我什么| bun是什么意思| 中元节出什么生肖| 似乎是什么意思| 老年人适合喝什么牛奶| 减肥可以吃什么水果| 早晨嘴苦是什么原因引起的| 香米是什么米| 经常自言自语是什么原因| 属羊的是什么命| 肝硬化早期吃什么药| 七月初八是什么星座| 女性肛门坠胀看什么科| 口腔医学是干什么的| 尿道炎用什么药治疗| 大便一粒粒的是什么原因| 柠檬水有什么好处| 月经一个月来两次是什么原因| 喘不过气是什么原因| 海豹吃什么| 华为最新款手机是什么型号| 早上起床腰疼是什么原因| 顾名思义的顾什么意思| 酸奶用什么菌发酵| 台风为什么叫台风| 银手镯对身体有什么好处| 红薯是什么茎| 乳腺增生应该注意些什么| 吃阿司匹林有什么副作用| 孕妇牙痛有什么办法| 取决于你是什么意思| 军长相当于地方什么官| 护肝片什么时候吃最好| 吃什么能流产| 龟头责是什么意思| 咳嗽吃什么好得快| 10月什么星座| 脚冰凉是什么原因| 肺动脉流的是什么血| 痛什么什么痛| 做梦梦到狗是什么征兆| 阴道有味道是什么原因| 同房有点痛什么原因| 十九朵玫瑰花代表什么意思| 坐北朝南是什么意思| 小狗呕吐吃什么药| 四季平安是什么生肖| 三点水弘读什么| 面包虫长大后变成什么| 男人硬不起来是什么原因| 守字五行属什么| 黑色的屎是什么原因| 寿辰是什么意思| 10.5是什么星座| 梦见死猪是什么意思| 做梦梦到踩到屎是什么意思| 肋软骨炎吃什么药| 属牛的五行属性是什么| 小腿酸胀吃什么药| 梦到和别人吵架是什么意思| 甘霖是什么意思| 海鲜和什么不能一起吃| 一什么老虎| 理想血压是什么意思| 燕子进屋来有什么兆头| 湿气重喝什么茶好| 主任医师是什么职称| 开胃菜都有什么| 鱼周念什么| 鸡头米是什么东西| 牙齿遇冷热都痛是什么原因| 贴切是什么意思| 什么是创造性思维| beam什么意思| 牛蛙吃什么| 4月5日什么星座| 为什么最迷人的最危险是什么歌| 新五行属什么| cm和mm有什么区别| 西瓜有什么好处| 己亥是什么意思| 头晕用什么药好| 天麻是什么| 泡果酒用什么酒好| 全自动洗衣机漏水是什么原因| soe咖啡是什么意思| 李子有什么功效| 比利时用什么货币| 臭虫的天敌是什么| 1970属什么生肖| 软饮是什么意思| 舒肝健胃丸治什么病| 人参是什么味道| 立加羽念什么| 取关是什么意思| 才情是什么意思| 脚腕筋疼是什么原因| 蛀虫指什么生肖| 氟哌噻吨美利曲辛片治什么病| 间作套种是什么意思| 灵芝的功效与作用是什么| 造纸术什么时候发明的| 什么运动最减肥| 正在候车是什么意思| 胃疼看病挂什么科| 副产品是什么意思| dm是什么意思| 属虎和什么属相相冲| 关节炎挂什么科| 锁骨发适合什么脸型| 月经期间喝什么好排毒排污血| 鬼畜是什么意思| 前庭神经炎吃什么药| 7月11日什么星座| 甲亢吃什么食物最好| 牛肉饺子馅配什么蔬菜| lbs什么意思| 八月十八号是什么星座| 一个月大的小狗吃什么| 身体潮湿是什么原因| 泌尿系统感染吃什么消炎药| 0是什么| 人设崩塌是什么意思| 一对什么填空| 1945年属什么生肖| 挂彩是什么意思| 温柔的动物是什么生肖| 大腿根部痒是什么原因| 红斑狼疮是什么症状能治好吗| 做包皮手术挂什么科| 感冒发烧可以吃什么水果| 儿童风寒咳嗽吃什么药| 突然尿多是什么原因| 荼靡是什么意思| 孔雀男是什么意思| 什么是润年| 有眼屎用什么眼药水| 男人梦见老鼠什么征兆| 胬肉是什么意思| 铜陵有什么好玩的地方| 市组织部长是什么级别| 吧唧嘴什么意思| 吃什么可以通便| 为什么会长痘痘| 1981年五行属什么| perrier是什么水| 未见卵黄囊是什么意思| 脾胃湿热吃什么中成药| dpd是什么意思| 看脑袋挂什么科| 包虫病是什么症状| 桂林山水下一句是什么| 味精的主要成分是什么| 履约是什么意思| 右边脑袋疼是什么原因| 煮茶叶蛋用什么茶| 小三是什么意思| 6月15号是什么星座| 四个月是什么字| 腹泻不能吃什么食物| 包干是什么意思| cd138阳性是什么意思| 小肚子一直疼是什么原因| 朋友的意义是什么| 93什么意思| 什么的衣服| 连可以组什么词| 小苏打和食用碱有什么区别| 毁谤是什么意思| 脑梗会引起什么症状| 外感发热什么意思| 牙齿有黑洞是什么原因| 左眼皮跳什么预兆| 慢保申请有什么条件| 情绪什么意思| 最难写的字是什么| 维生素什么牌子好| 石斛什么功效| 3.5是什么星座| 习惯是什么意思| 耳堵是什么| 什么是玉石| 普陀山求什么最灵| 下肢静脉曲张是什么原因引起的| 白膜是什么东西| 汗臭是什么原因| ast什么意思| 西施是什么生肖| 梦见青蛙是什么预兆| 什么是阳历| 肩膀痛挂什么科| 睡不着什么原因| molly是什么意思| 春光乍泄是什么意思| 007最新一部叫什么| 如意什么意思| 手指尖疼是什么原因| 8月11号是什么星座| 流虚汗是什么原因| 空调外机为什么会滴水| 为什么拉黑色的屎| 胃肠造影主要检查什么| csc是什么意思| 什么的李子| 塑料袋是什么材质| 7.4是什么星座| 头脑灵活是什么生肖| 艾草长什么样子图片| 贫血什么症状| 便秘吃什么有用| 不止是什么意思| 吃大虾不能吃什么| 胃酸反流是什么原因造成| 祝好是什么意思| 高血脂看什么科| 腋臭和狐臭有什么区别| 上环要做什么检查| bg是什么意思| recipe什么意思| 6月4号什么星座| 一个歹一个殇读什么| 娃娃流鼻血是什么原因| 蜂蜜吃有什么好处| 百度Jump to content

乌鱼蛋是什么

From Wikipedia, the free encyclopedia
Virtualbox about screen with representations of all major desktop operating system platforms
百度 公示时间更长市住房保障部门公示时间延长至20天新《细则》还延长了公共租赁住房申请、审查时街道办事处(镇政府)、市住房保障部门公示时间,公示时间为20天。

Within computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms.[1] Some cross-platform software requires a separate build for each platform, but some can be directly run on any platform without special preparation, being written in an interpreted language or compiled to portable bytecode for which the interpreters or run-time packages are common or standard components of all supported platforms.[2]

For example, a cross-platform application may run on Linux, macOS and Microsoft Windows. Cross-platform software may run on many platforms, or as few as two. Some frameworks for cross-platform development are Codename One, ArkUI-X, Kivy, Qt, GTK, Flutter, NativeScript, Xamarin, Apache Cordova, Ionic, and React Native.[3]

Platforms

[edit]

Platform can refer to the type of processor (CPU) or other hardware on which an operating system (OS) or application runs, the type of OS, or a combination of the two.[4] An example of a common platform is Android which runs on the ARM architecture family. Other well-known platforms are Linux/Unix, macOS and Windows, these are all cross-platform.[4] Applications can be written to depend on the features of a particular platform—either the hardware, OS, or virtual machine (VM) it runs on. For example, the Java platform is a common VM platform which runs on many OSs and hardware types.

Hardware

[edit]

A hardware platform can refer to an instruction set architecture. For example: ARM or the x86 architecture. These machines can run different operating systems.

Smartphones and tablets generally run ARM architecture, these often run Android or iOS and other mobile operating systems.

Software

[edit]

A software platform can be either an operating system (OS) or programming environment, though more commonly it is a combination of both. An exception is Java, which uses an OS-independent virtual machine (VM) to execute Java bytecode. Some software platforms are:

Minor, historical

Java

[edit]

The Java language is typically compiled to run on a VM that is part of the Java platform. The Java virtual machine (Java VM, JVM) is a CPU implemented in software, which runs all Java code. This enables the same code to run on all systems that implement a JVM. Java software can be executed by a hardware-based Java processor. This is used mostly in embedded systems.

Java code running in the JVM has access to OS-related services, like disk input/output (I/O) and network access, if the appropriate privileges are granted. The JVM makes the system calls on behalf of the Java application. This lets users to decide the appropriate protection level, depending on an access-control list (ACL). For example, disk and network access is usually enabled for desktop applications, but not for browser-based applets. The Java Native Interface (JNI) can also be used to access OS-specific functions, with a loss of portability.

Currently, Java Standard Edition software can run on Microsoft Windows, macOS, several Unix-like OSs, and several real-time operating systems for embedded devices. For mobile applications, browser plugins are used for Windows and Mac based devices, and Android has built-in support for Java. There are also subsets of Java, such as Java Card or Java Platform, Micro Edition, designed for resource-constrained devices.

Implementation

[edit]

For software to be considered cross-platform, it must function on more than one computer architecture or OS. Developing such software can be a time-consuming task because different OSs have different application programming interfaces (API).

Software written for one OS may not automatically work on all architectures that OS supports. Just because software is written in a popular programming language such as C or C++, it does not mean it will run on all OSs that support that language—or even on different versions of the same OS.

Web applications

[edit]

Web applications are typically described as cross-platform because, ideally, they are accessible from any web browser: the browser is the platform. Web applications generally employ a client–server model, but vary widely in complexity and functionality. It can be hard to reconcile the desire for features with the need for compatibility.

Basic web applications perform all or most processing from a stateless server, and pass the result to the client web browser. All user interaction with the application consists of simple exchanges of data requests and server responses. This type of application was the norm in the early phases of World Wide Web application development. Such applications follow a simple transaction model, identical to that of serving static web pages. Today, they are still relatively common, especially where cross-platform compatibility and simplicity are deemed more critical than advanced functionality.

Prominent examples of advanced web applications include the Web interface to Gmail and Google Maps. Such applications routinely depend on additional features found only in the more recent versions of popular web browsers. These features include Ajax, JavaScript, Dynamic HTML, SVG, and other components of rich web applications.

Design

[edit]

Because of the competing interests of compatibility and functionality, numerous design strategies have emerged.

Many software systems use a layered architecture where platform-dependent code is restricted to the upper- and lowermost layers.

Graceful degradation
[edit]

Graceful degradation attempts to provide the same or similar functionality to all users and platforms, while diminishing that functionality to a least common denominator for more limited client browsers. For example, a user attempting to use a limited-feature browser to access Gmail may notice that Gmail switches to basic mode, with reduced functionality but still of use.

Multiple codebases
[edit]

Some software is maintained in distinct codebases for different (hardware and OS) platforms, with equivalent functionality. This requires more effort to maintain the code, but can be worthwhile where the amount of platform-specific code is high.

Single codebase
[edit]

This strategy relies on having one codebase that may be compiled to multiple platform-specific formats. One technique is conditional compilation. With this technique, code that is common to all platforms is not repeated. Blocks of code that are only relevant to certain platforms are made conditional, so that they are only interpreted or compiled when needed. Another technique is separation of functionality, which disables functionality not supported by browsers or OSs, while still delivering a complete application to the user. (See also: Separation of concerns.) This technique is used in web development where interpreted code (as in scripting languages) can query the platform it is running on to execute different blocks conditionally.[6]

Third-party libraries
[edit]

Third-party libraries attempt to simplify cross-platform capability by hiding the complexities of client differentiation behind a single, unified API, at the expense of vendor lock-in.

Responsive web design
[edit]

Responsive web design (RWD) is a Web design approach aimed at crafting the visual layout of sites to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices, from mobile phones to desktop computer monitors. Little or no platform-specific code is used with this technique.

Testing

[edit]

Cross-platform applications need much more integration testing. Some web browsers prohibit installation of different versions on the same machine. There are several approaches used to target multiple platforms, but all of them result in software that requires substantial manual effort for testing and maintenance.[7] Techniques such as full virtualization are sometimes used as a workaround for this problem.

Tools such as the Page Object Model allow cross-platform tests to be scripted so that one test case covers multiple versions of an app. If different versions have similar user interfaces, all can be tested with one test case.

Traditional applications

[edit]

Web applications are becoming increasingly popular but many computer users still use traditional application software which does not rely on a client/web-server architecture. The distinction between traditional and web applications is not always clear. Features, installation methods and architectures for web and traditional applications overlap and blur the distinction. Nevertheless, this simplifying distinction is a common and useful generalization.

Binary software

[edit]

Traditional application software has been distributed as binary files, especially executable files. Executables only support the platform they were built for—which means that a single cross-platform executable could be very bloated with code that never executes on a particular platform. Instead, generally there is a selection of executables, each built for one platform.

For software that is distributed as a binary executable, such as that written in C or C++, there must be a software build for each platform, using a toolset that translates—transcompiles—a single codebase into multiple binary executables. For example, Firefox, an open-source web browser, is available on Windows, macOS (both PowerPC and x86 through what Apple Inc. calls a Universal binary), Linux, and BSD on multiple computer architectures. The four platforms (in this case, Windows, macOS, Linux, and BSD) are separate executable distributions, although they come largely from the same source code. In rare cases, executable code built for several platforms is combined into a single executable file called a fat binary.

The use of different toolsets may not be enough to build a working executables for different platforms. In this case, programmers must port the source code to the new platform. For example, an application such as Firefox, which already runs on Windows on the x86 family, can be modified and re-built to run on Linux on the x86 (and potentially other architectures) as well. The multiple versions of the code may be stored as separate codebases, or merged into one codebase.

An alternative to porting is cross-platform virtualization, where applications compiled for one platform can run on another without modification of the source code or binaries. As an example, Apple's Rosetta, which is built into Intel-based Macintosh computers, runs applications compiled for the previous generation of Macs that used PowerPC CPUs. Another example is IBM PowerVM Lx86, which allows Linux/x86 applications to run unmodified on the Linux/Power OS.

Example of cross-platform binary software:

Scripts and interpreted languages

[edit]

A script can be considered to be cross-platform if its interpreter is available on multiple platforms and the script only uses the facilities built into the language. For example, a script written in Python for a Unix-like system will likely run with little or no modification on Windows, because Python also runs on Windows; indeed there are many implementations (e.g. IronPython for .NET Framework). The same goes for many of the open-source scripting languages.

Unlike binary executable files, the same script can be used on all computers that have software to interpret the script. This is because the script is generally stored in plain text in a text file. There may be some trivial issues, such as the representation of a new line character.

Some popular cross-platform scripting languages are:

Video games

[edit]

Cross-platform or multi-platform is a term that can also apply to video games released on a range of video game consoles. Examples of cross-platform games include: Miner 2049er, Tomb Raider: Legend, FIFA series, NHL series and Minecraft.

Each has been released across a variety of gaming platforms, such as the Wii, PlayStation 3, Xbox 360, personal computers, and mobile devices.

Some platforms are harder to write for than others, requiring more time to develop the video game to the same standard. To offset this, a video game may be released on a few platforms first, then later on others. Typically, this happens when a new gaming system is released, because video game developers need to acquaint themselves with its hardware and software.

Some games may not be cross-platform because of licensing agreements between developers and video game console manufacturers that limit development to one particular console. As an example, Disney could create a game with the intention of release on the latest Nintendo and Sony game consoles. Should Disney license the game with Sony first, it may be required to release the game solely on Sony's console for a short time or indefinitely.

Cross-platform play

[edit]

Several developers have implemented ways to play games online while using different platforms. Psyonix, Epic Games, Microsoft, and Valve all possess technology that allows Xbox 360 and PlayStation 3 gamers to play with PC gamers, leaving the decision of which platform to use to consumers. The first game to allow this level of interactivity between PC and console games (Dreamcast with specially produced keyboard and mouse) was Quake 3.[11][12]

Games that feature cross-platform online play include Rocket League, Final Fantasy XIV, Street Fighter V, Killer Instinct, Paragon and Fable Fortune, and Minecraft with its Better Together update on Windows 10, VR editions, Pocket Edition and Xbox One.

Programming

[edit]

Cross-platform programming is the practice of deliberately writing software to work on more than one platform.

Approaches

[edit]

There are different ways to write a cross-platform application. One approach is to create multiple versions of the same software in different source trees—in other words, the Microsoft Windows version of an application might have one set of source code files and the Macintosh version another, while a FOSS *nix system might have a third. While this is straightforward, compared to developing for only one platform it can cost much more to pay a larger team or release products more slowly. It can also result in more bugs to be tracked and fixed.

Another approach is to use software that hides the differences between the platforms. This abstraction layer insulates the application from the platform. Such applications are platform agnostic. Applications that run on the JVM are built this way.

Some applications mix various methods of cross-platform programming to create the final application. An example is the Firefox web browser, which uses abstraction to build some of the lower-level components, with separate source subtrees for implementing platform-specific features (like the GUI), and the implementation of more than one scripting language to ease software portability. Firefox implements XUL, CSS and JavaScript for extending the browser, in addition to classic Netscape-style browser plugins. Much of the browser itself is written in XUL, CSS, and JavaScript.

Toolkits and environments

[edit]

There are many tools[13][14] available to help the process of cross-platform programming:

  • 8th: a development language which utilizes Juce as its GUI layer. It currently supports Android, iOS, Windows, macOS, Linux and Raspberry Pi.
  • Anant Computing: A mobile application platform that works in all Indian languages, including their keyboards, and also supports AppWallet and native performance in all OSs.
  • AppearIQ: a framework that supports the workflow of app development and deployment in an enterprise environment. Natively developed containers present hardware features of the mobile devices or tablets through an API to HTML5 code thus facilitating the development of mobile apps that run on different platforms.
  • Boden: a UI framework written in C++.
  • Cairo: a free software library used to provide a vector graphics-based, device-independent API. It is designed to provide primitives for 2-dimensional drawing across a number of different backends. Cairo is written in C and has bindings for many programming languages.
  • Cocos2d: an open-source toolkit and game engine for developing 2D and simple 3D cross-platform games and applications.
  • Codename One: an open-source Write Once Run Anywhere (WORA) framework for Java and Kotlin developers.
  • Delphi: an IDE which uses a Pascal-based language for development. It supports Android, iOS, Windows, macOS, Linux.
  • Ecere SDK: a GUI and 2D/3D graphics toolkit and IDE, written in eC and with support for additional languages such as C and Python. It supports Linux, FreeBSD, Windows, Android, macOS and the Web through Emscripten or Binaryen  (WebAssembly).
  • Eclipse: an open-source development environment. Implemented in Java with a configurable architecture which supports many tools for software development. Add-ons are available for several languages, including Java and C++.
  • FLTK: an open-source toolkit, but more lightweight because it restricts itself to the GUI.
  • Flutter: A cross-platform UI framework for IOS, Android, Mac, Windows and developed by Google.
  • fpGUI: An open-source widget toolkit that is completely implemented in Object Pascal. It currently supports Linux, Windows and a bit of Windows CE.
  • GeneXus: A Windows rapid software development solution for cross-platform application creation and deployment based on knowledge representation and supporting C#, COBOL, Java including Android and BlackBerry smart devices, Objective-C for Apple mobile devices, RPG, Ruby, Visual Basic, and Visual FoxPro.
  • GLBasic: A BASIC dialect and compiler that generates C++ code. It includes cross compilers for many platforms and supports numerous platform (Windows, Mac, Linux, Android, iOS and some exotic handhelds).
  • Godot: an SDK which uses Godot Engine.
  • GTK+: An open-source widget toolkit for Unix-like systems with X11 and Microsoft Windows.
  • Haxe: An open-source language.
  • Juce: An application framework written in C++, used to write native software on numerous systems (Microsoft Windows, POSIX, macOS), with no change to the code.
  • Kivy: an open-source cross-platform UI framework written in Python. It supports Android, iOS, Linux, OS X, Windows and Raspberry Pi.
  • LEADTOOLS: Cross-platform SDK libraries to integrate recognition, document, medical, imaging, and multimedia technologies into Windows, iOS, macOS, Android, Linux and web applications.[15]
  • LiveCode: a commercial cross-platform rapid application development language inspired by HyperTalk.
  • Lazarus: A programming environment for the FreePascal Compiler. It supports the creation of self-standing graphical and console applications and runs on Linux, MacOSX, iOS, Android, WinCE, Windows and WEB.
  • Max/MSP: A visual programming language that encapsulates platform-independent code with a platform-specific runtime environment into applications for macOS and Windows A cross-platform Android runtime. It allows unmodified Android apps to run natively on iOS and macOS
  • Mendix: a cloud-based low-code application development platform.
  • MonoCross: an open-source model–view–controller design pattern where the model and controller are cross-platform but the view is platform-specific.[16]
  • Mono: An open-source cross-platform version of Microsoft .NET (a framework for applications and programming languages)
  • MoSync: an open-source SDK for mobile platform app development in the C++ family.
  • Mozilla application framework: an open-source platform for building macOS, Windows and Linux applications.
  • OpenGL: a 3D graphics library.
  • Pixel Game Maker MV: A proprietary 2D game development software for Windows for developing Windows and Nintendo Switch games.
  • PureBasic: a proprietary language and IDE for building macOS, Windows and Linux applications.
  • ReNative: The universal development SDK to build multi-platform projects with React Native. Includes latest iOS, tvOS, Android, Android TV, Web, Tizen TV, Tizen Watch, LG webOS, macOS/OSX, Windows, KaiOS, Firefox OS and Firefox TV platforms.
  • Qt: an application framework and widget toolkit for Unix-like systems with X11, Microsoft Windows, macOS, and other systems—available under both proprietary and open-source licenses.
  • Simple and Fast Multimedia Library: A multimedia C++ API that provides low and high level access to graphics, input, audio, etc.
  • Simple DirectMedia Layer: an open-source multimedia library written in C that creates an abstraction over various platforms' graphics, sound, and input APIs. It runs on OSs including Linux, Windows and macOS and is aimed at games and multimedia applications.
  • Smartface: a native app development tool to create mobile applications for Android and iOS, using WYSIWYG design editor with JavaScript code editor.
  • Tcl/Tk
  • Titanium Mobile: open source cross-platform framework for Android and iOS development.
  • U++: a C++ GUI framework for performance. It includes a set of libraries (GUI, SQL, etc..), and IDE. It supports Windows, macOS and Linux.
  • Unity: Another cross-platform SDK which uses Unity Engine.
  • Uno Platform: Windows, macOS, iOS, Android, WebAssembly and Linux using C#.
  • Unreal: A cross-platform SDK which uses Unreal Engine.
  • V-Play Engine: V-Play is a cross-platform development SDK based on the popular Qt framework. V-Play apps and games are created within Qt Creator.
  • WaveMaker: A low-code development tool to create responsive web and hybrid mobile (Android & iOS) applications.
  • WinDev: an Integrated Development Environment for Windows, Linux, .Net and Java, and web browers. Optimized for business and industrial applications.
  • wxWidgets: an open-source widget toolkit that is also an application framework.[17] It runs on Unix-like systems with X11, Microsoft Windows and macOS.
  • Xojo: a RAD IDE that uses an object-oriented programming language to compile desktop, web and iOS apps. Xojo supports natively compiling to Windows, macOS, iOS and Linux, and can also create compiled web apps that are able to be run as standalone servers or through CGI.

Challenges

[edit]

There are many challenges when developing cross-platform software:

  • Testing cross-platform applications may be considerably more complicated, since different platforms can exhibit slightly different behaviors or subtle bugs. This problem has led some developers to deride cross-platform development as "write once, debug everywhere", a take on Sun Microsystems' "write once, run anywhere" marketing slogan.
  • Developers are often restricted to using the lowest common denominator subset of features which are available on all platforms. This may hinder the application's performance or prohibit developers from using the most advanced features of each platform.
  • Different platforms often have different user interface conventions, which cross-platform applications do not always accommodate. For example, applications developed for macOS and GNOME are supposed to place the most important button on the right-hand side of a window or dialog, whereas Microsoft Windows and KDE have the opposite convention. Though many of these differences are subtle, a cross-platform application which does not conform to these conventions may feel clunky or alien to the user. When working quickly, such opposing conventions may even result in data loss, such as in a dialog box confirming whether to save or discard changes.
  • Scripting languages and VM bytecode must be translated into native executable code each time they are used, imposing a performance penalty. This penalty can be alleviated using techniques like just-in-time compilation; but some computational overhead may be unavoidable.
  • Different platforms require the use of native package formats such as RPM and MSI. Multi-platform installers such as InstallAnywhere address this need.
  • Cross-platform execution environments may suffer cross-platform security flaws, creating a fertile environment for cross-platform malware.[18]

See also

[edit]

References

[edit]
  1. ^ "Design Guidelines: Glossary". java.sun.com. Archived from the original on 2025-08-05. Retrieved 2025-08-05.
  2. ^ "SDD Technology blog: Definition of cross platform". SDD Technology. Retrieved 2025-08-05.
  3. ^ Lee P Richardson (2025-08-05). "Xamarin vs Ionic: A Mobile, Cross Platform, Shootout".
  4. ^ a b "Platform Definition". The Linux Information Project. Retrieved 2025-08-05.
  5. ^ "About Mono". mono-project.com. Retrieved 2025-08-05.
  6. ^ Corti, Sascha P. (October 2011). "Browser and Feature Detection". MSDN Magazine. Retrieved 28 January 2014.
  7. ^ Choudhary, S.R. (2014). "Cross-platform testing and maintenance of web and mobile applications". Companion Proceedings of the 36th International Conference on Software Engineering. pp. 642–645. doi:10.1145/2591062.2591097. hdl:1853/53588. ISBN 9781450327688. S2CID 1903037.
  8. ^ Mehrotra, Pranob (2025-08-05). "Collabora Office suite gets a new layout for Android tablets and Chromebooks". XDA-Developers. Retrieved 2025-08-05. Collabora Office is a popular open-source alternative to the Microsoft Office suite. It's based on LibreOffice, and it's available on a variety of platforms, including Windows, Linux, iOS, and Android. This year in July, a major update for the office suite brought support for Chrome OS devices.
  9. ^ "Collabora Office on iOS and Android Just got Better!". Adfinis. 2025-08-05. Retrieved 2025-08-05. ...touch optimized interfaces: one for tablets and one for phone screens. ...(iOS, iPadOS, Chromebooks, Android).
  10. ^ "Nextcloud Ubuntu Appliance adds Collabora Online to Raspberry Pi image". MuyLinux. 2025-08-05. Retrieved 2025-08-05. the first viable self-hosted web office solution for the popular Raspberry Pi 4 platform
  11. ^ Cribba. Quake III Arena, Giant Bombcast, February 15, 2013.
  12. ^ A Closer Look At The Dreamcast Internet Starter Kit
  13. ^ The GUI Toolkit, Framework Page
  14. ^ "Platform Independent FAQ". Archived from the original on 2025-08-05. Retrieved 2025-08-05.
  15. ^ "Cross-Platform SDK Libraries for Recognition, Document, Medical, Imaging, and Multimedia". www.leadtools.com. Retrieved 2025-08-05.
  16. ^ "12 benefits of Xamarin Cross-platform app development". HeadWorks. 15 Mar 2019.
  17. ^ WxWidgets Description
  18. ^ Warren, Tom (2025-08-05). "Microsoft bids farewell to Windows 7 and the millions of PCs that still run it". The Verge. Retrieved 2025-08-05.
平顶山为什么叫平顶山 月经期间吃什么最好 clot什么牌子 黄历冲生肖是什么意思 什么的交流
m是什么尺码 常喝柠檬水有什么好处和坏处 药鱼用什么药效果最好 胆结石能吃什么 哈气是什么意思
急性肠胃炎能吃什么水果 两个人能玩什么游戏 痃癖是什么病 知性是什么类型的女人 贵人多忘事什么意思
46岁属什么 梨形心见于什么病 胰腺炎不能吃什么 腿上无缘无故出现淤青是什么原因 老年痴呆症挂什么科
epc什么意思hcv9jop7ns5r.cn 对什么都不感兴趣xinmaowt.com 白醋和白米醋有什么区别hcv8jop4ns6r.cn 骨折后吃什么恢复快hcv8jop3ns7r.cn 梦见金项链是什么意思hcv8jop5ns5r.cn
梦见皮带断了什么预兆gangsutong.com 哥哥的老婆叫什么hcv8jop8ns4r.cn 7月14日什么节日hcv9jop7ns3r.cn 回光返照什么意思hcv7jop5ns1r.cn 胎儿双顶径是什么意思hcv8jop2ns6r.cn
话糙理不糙是什么意思hcv9jop3ns7r.cn 冰丝和天丝有什么区别bjcbxg.com 老婆饼是什么馅hanqikai.com 花红是什么水果hcv8jop9ns5r.cn 语无伦次是什么意思hcv8jop9ns0r.cn
更年期出虚汗吃什么药hcv9jop0ns2r.cn 休克的本质是什么hcv9jop7ns9r.cn 巨蟹男喜欢什么样的女生hcv8jop0ns0r.cn 易孕期是什么意思hcv8jop7ns3r.cn 版图是什么意思zhiyanzhang.com
百度