CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

new programming language?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2005, 05:46
Default new programming language?
  #1
m
Guest
 
Posts: n/a
Hi everybody!

I was curious if there exist some new programming language that is good for numerics (fast), but which is also good for easy creation of GUI? In my work I extensively use fortran for numerical calculations, but I use MATLAB, for instance, as a pre- and post-processor, and which alreday has good GUI options. However, MATLAB solely is rather slow when it comes to extensive numerical calculations and exectuables cannnot be created easy. So, I was interested if there is, maybe, some new languange that is suffieciently fast for numerics, but also allows for easy creation of GUI and executables? Your suggestions are welcome.

Thankx
  Reply With Quote

Old   December 27, 2005, 07:05
Default Re: new programming language?
  #2
TITAN Algorithms, Staff
Guest
 
Posts: n/a
M

I would recomment that you take a look at PowerBasic for Windows. In my opinion, this is a language too often overlooked. Powerbasic offers low cost, incredible forum support, extensive code archive, superfast and accurate float and long integer operations, extensive string manipulation capabilities, connection to the entires Windows API. Version 8.0 offers fast and easy graphics manipulation.

follow the link:

www.PowerBasic.com

I am a user of PowerBasic and develop all code using this compiler; thus, this recommendation does not originate with their company.

Kind Regards

Staff, TITAN Algorithms

www.TITANAlgorithms.com
  Reply With Quote

Old   December 27, 2005, 09:05
Default Re: new programming language?
  #3
Renato.
Guest
 
Posts: n/a
I'd stay programming in Fortran and/or C++ and using some kind of new script-based language such as TCL/TK or Python/TK to build the GUI.

These languages can be compiled to speed up the execution time, are fully portable and can be used with VTK to access 3D funcionality.

Regards

Renato.
  Reply With Quote

Old   December 27, 2005, 16:16
Default Re: new programming language?
  #4
Harish
Guest
 
Posts: n/a
You can try using qt.

-H
  Reply With Quote

Old   December 28, 2005, 03:07
Default Re: new programming language?
  #5
m
Guest
 
Posts: n/a
thanks to all of you guys ...
  Reply With Quote

Old   December 28, 2005, 17:54
Default Re: new programming language?
  #6
Adrin Gharakhani
Guest
 
Posts: n/a
Just curious if you've ever had the chance to benchmark the performance of your code (an important CPU intensive component, for example) against a commercial grade fortran compiler. My past experience tells me that even C, which is heavily used and developed, can be as much as 30% slower than fortran! It would be interesting to see a benchmark (we don't use windows here, so I don't have the "luxury" to run a test myself)

Adrin Gharakhani
  Reply With Quote

Old   December 28, 2005, 21:10
Default Re: new programming language?
  #7
TITAN Algorithms, Staff
Guest
 
Posts: n/a
Adrin

I've tested Hyperion-TFS against FlowSciences (www.Flow3D.com) Flow3D; I use Flow3D for comp. slosh modelling. TFS has a fairly decent grind time and for the one-to-one test I performed (incompressible, 3D flow over a block), it was within about a factor of 1.2.

Also, I've clocked PowerBasic against both Compaq VisFortan and the GNU C compiler. In both cases, floating point grind time is almost identical. PB produces lightning fast compact code.

We could sport some tests here if you are interested?

kind regards

DSS

www.TITANAlgorithms.com
  Reply With Quote

Old   December 28, 2005, 23:11
Default Re: new programming language?
  #8
Renato.
Guest
 
Posts: n/a
Hi Titan

Besides the performance, what would you tell us about the portability of PowerBasic? I'm saying it because most of the PCs of the world, high performance computing machines and operating systems have some kind of support to C/C++ and Fortran languages.

Certainly CFD codes demand high performance computing machines and "weird" combinations of OS and hardware systems. Therefore, I think that performance and portability are key issues when talking about programming languages. Any Fortran or C/C++ (standard) programmer can run your codes just recompiling it for any OS or hardware at hand.

Furthermore, performance is a very painful think to discuss. We can have codes that run with a wonderful performance with the compiler "X" in the "Y" hardware and the same codes with a terrible performance with the compiler "W" in a system "Z". I've already witnessed codes with good performance in Cray SV1 machines and F90 Cray's compiler and bad performance with Itanium-2 machine and Intel's Fortran compiler.

I've suggested script-based languages to develop GUIs (see my first post) mainly because the programmer could take advantage from the portability that these languages provide.

Cheers

Renato.

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
programming language for CFD, C, C++, FORTRAN,.... hadian Main CFD Forum 15 September 9, 2008 23:19
Programming language for ICEM CFD? Michael B CFX 2 January 11, 2007 10:06
CG/GPU/brook programming language - FLUENT/CFX Quick Main CFD Forum 0 April 3, 2006 19:32
selection of Programming Language Masood Main CFD Forum 1 April 20, 2004 09:26
Mixed language programming Hongwei Sun Main CFD Forum 1 December 11, 2000 04:46


All times are GMT -4. The time now is 14:21.