Easiest way to build a cross-platform application

前端 未结 7 895
悲哀的现实
悲哀的现实 2021-02-12 23:28

I have read a few articles in the cross-platform tag. However, as I\'m starting a fresh application (mostly a terminal/console app), I\'m wondering about the easiest way to make

7条回答
  •  忘掉有多难
    2021-02-13 00:08

    Use Java. As much bashing as it gets/used to get, it's the best thing to get stuff working across any platform. Sure, you will still need to handle external OS related functions you may be using, but it's much better than using anything else.

    Apart from Java, there are a few things you can run on the JVM - JRuby, Jython, Scala come to mind.

    You could also write with the scripting languages directly( Ruby, Python, etc ).

    C/C++ is best left for applications that demand complete memory control and high controllability.

提交回复
热议问题