How to write a cross-platform program?

前端 未结 15 1995
遇见更好的自我
遇见更好的自我 2020-12-29 10:28

Greetings,

I want to write a small cross-platform utility program with GUI in it. What language/GUI-library should I stick to? Is it possible whatsoever?

Thi

15条回答
  •  粉色の甜心
    2020-12-29 11:16

    Which OS's do you have in mind when you say cross-platform?

    As Epaga correctly points out, native and cross-platform are mutually exclusive. You can either write multiple versions that run natively on multiple platforms, or you need to use some cross-platform framework.

    In the case of the cross-platform framework approach, there will always be extra installs required. For example, many here suggest using Python and one of its frameworks. This would necessitate instructing people to install python - and potentially the framework - first.

    If you are aiming at Windows and OS X (and are prepared to experiment with alpha-release code for Linux if support for that OS is required), I'd highly recommend you take a look at using Adobe AIR for cross-platform GUI applications.

提交回复
热议问题