|
[Sponsors] |
December 27, 2012, 08:18 |
Most efficient language for GUI
|
#1 |
Member
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Hi,
I would like to build a GUI for OpeFOAM, essentially for my clients. Here I suppose that there are many experts on this subject, I would like to hear your recommendations about choosing the language. The only requirement is that the language must operate platform independently. Regards |
|
December 28, 2012, 06:21 |
|
#2 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
I am using pyhton + Qt + Xml
|
|
December 28, 2012, 07:06 |
|
#3 |
Member
Join Date: Mar 2009
Posts: 85
Rep Power: 17 |
Do you think, what are the advantages and disadvantages of Pyhton?
Why wouldn't you use Java or C? Regards |
|
December 28, 2012, 15:25 |
|
#4 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Answer is easy: Qt+Python can be inserted easily in SALOME. java and C - not
|
|
December 29, 2012, 18:09 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
Indeed, Python+Qt make a tremendous combo! Both are heavily used in Salome and ParaView; although ParaView's own code is in C++. And Python is pretty much the standard language for "all things science that need scripting" nowadays... About 2-3 years ago, from best to worst should be something like this (from my personal view):
Anyway... Nowadays, the perception of "multi-platform" has gained at least two new targets: iOS and Android. Which means that there are couple more potential coding strategies:
But keep in mind that any of these will also depend on your clients. If they want to modify the code themselves later on, they might not agree with your preferences. Best regards, Bruno
__________________
|
|
January 7, 2013, 12:07 |
|
#6 |
Member
Robertas N.
Join Date: Mar 2009
Location: Kaunas, Lithuania
Posts: 53
Rep Power: 17 |
If you want to build a GUI, you should think about the appropriate toolkit, not (so much) about the language, because the program will mostly make the API calls anyway. Qt has
been already mentioned, but maybe other toolkits are usable too (I have very little experience with GUIs to mention any). As for compatibility with Salome, ParaView, etc., it's important whether you are going to include pre- and postprocessing capabilities in the GUI at all. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
CFX basic language | ndabir | CFX | 5 | August 17, 2011 19:43 |
Additional Command Language -in Workbench! | Elvira_Coot | CFX | 11 | July 14, 2011 02:32 |
programming language for CFD, C, C++, FORTRAN,.... | hadian | Main CFD Forum | 15 | September 9, 2008 23:19 |
ALGOR? Its scripting language? Compare to Fluent? | Chris Bailey | Main CFD Forum | 2 | November 16, 2005 17:58 |