How to write a cross-platform program?

前端 未结 15 2060
遇见更好的自我
遇见更好的自我 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:15

    The problem is: If you do not want to have a GUI but you do not want to ask the user to download an eternal API, Framework or virtual machine to run it in, be it TCL/TK, Java or QT etc. then you get lost pretty fast.

    The reason is: You would have to rebuild all the (GUI) functionality those APIs, frameworks and virtual machines provide you with to be platform independent. And that's a whole lot of work to do... .

    On the other side: The Java virtual machine is installed on nearly any operating system from scratch, why not give this one a shot?

提交回复
热议问题