I plan to develop a software with a cross-platform interface, and the property of real time is recommended, what is the best choice? Java Swing? Please give me some advice.
Printable View
I plan to develop a software with a cross-platform interface, and the property of real time is recommended, what is the best choice? Java Swing? Please give me some advice.
Can you describe what you are trying to do in more detail?
I want to develop a 2-dim robot simulation platform, requiring a little real-time speed, and I wish to let it run both on the windows and linux.
"Best" is very subjective.
I would recommend developing ALL of the functionallity in a non-platform specific manner, and then writing very thin optimized layyers for the graphical representation on each platform.
This provides maximum flexability and portability.
Just two cents to contemplate...Precompiled C/C++ can be opened and compiled by many developer tools on both Mac OS and Linux.
As TheCPUWizard said, "best" is very subjective. Of course, you can use Java, but you can use also .NET (that is MONO which allows you to run .NET applications on Linux), you can use Smalltalk, or you can use any of "interpreted" languages like Perl, Ruby, Python... There are tons of options.
Do you need to done it quickly, do you want to present yourself as a geek, do you want to learn something new? I'm affraid that there is no general advice, there are only better or worse options, but no "the nirvana one" or "the tabu one"
An alternative to Java Swing might be QT by Trolltech.
http://trolltech.com/products/qt
This is cross-platform.
Maybe it will handle some of the GUI stuff you want.
Thanks for all the advice, at the beginning, I wish to know that the more common used GUI toolkit for cross form interface designing, and by saying that, I think know what the first choice of most programmers.
I usually use wxWidgets for cross-platform GUI development. It is akin to GTK+ and QT, although I do not know much about these other two.