FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Good Cross Platform Programming Language





cybersa
I want to create a one app that need to run on all platform.

I know Java,C and C++.

Java with swing can be used to create GUI app but User Interface of the swing was not well good.
Do you have any idea?
Do you think JavaFX will be helpful for above mentioned problem or anyother?

Or

Any other programming language which easy to learn and develop app as soon as possible?
codegeek
I don't know about Java, as I haven't used it much. I do have some experience with C++, though. I think it's a great language that is very versatile and powerful. You can use some graphics library like SDL, Allegro, or SFML with C++. Your app will have to be compiled separately on each of the platforms, but apart from that, you'll have absolutely no problem at all. Of course, if you want to bypass the separate compilation, you can opt for Java, which is a "write once, run anywhere" sort of language. Bear in mind, though, that you'll need to have the JVM installed on each machine before running your Java app, while C++ apps can run independently without any virtual machines. Best of luck!
Marcuzzo
this was already mentioned by CodeGeek but here it goes.

You can perfectly write cross platform code with C or even C++ but you'd have to compile that code on each platform.

with Java it's Compile once, run everywhere.

there more to cross platform coding then just the language, for instance, writing to the windows registry is a big no no in cross platform applications.
cybersa
Still i'm in great confusion what to choose. Sad

I prefer java because this app is going to work with android app.
Both are java.So i choose java.
But Swing is old,User Interface of the swing is bored.
So i planned to try JavaFX but JavaFX still have some bugs.

Currently i'm planning to use Swing with Customize skin like own Skin for all platform.

C/C++ are good.
But i need to learn more api to connect with android.
Also i need to compile it on each platform.
Marcuzzo
you could use the NDK to code in C++.

have you looked at QT?
cybersa
Marcuzzo wrote:
you could use the NDK to code in C++.

have you looked at QT?

Yeah,QT LGPL license.

I want my project to completely closed source.

Currently i'm working on Swing with own custom theme.
So it will helpful to improve the GUI.
Marcuzzo
cybersa wrote:
Marcuzzo wrote:
you could use the NDK to code in C++.

have you looked at QT?

Yeah,QT LGPL license.

I want my project to completely closed source.

Currently i'm working on Swing with own custom theme.
So it will helpful to improve the GUI.


LGPL isn't as restrictive as GPL, it doesn't "infect" your code with it's license as it would with GPL.

so I think you can perfectly create closed source applications using LGPL libraries.

EDIT: YAAAY 1200 posts Dancing
cabenqc
C/C++
Java
HTML5/Javascript
Flash/Actionscript
cybersa
i have finished that project previous week. (ConnectAir) and I did it in Java.
It is working well on all platform.
Related topics
HELP me with Frontpage PLEASE
how did you learn about html, php or other languages???
eBook creator for PDA - pref. pdf, cross-platform
User-friendly Website Builder?
Best Programming Language to Use
What happened to Perl?
About pascal programming language
Survey on Programming Language
Can c++ still be kald a programming language?
How to design a Java window tray icon?
PHP vs ASP
Day 02 Preferred programming language?
To learn a programming language: Python
ConnectAir - My New Cross Platform Application
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.