|
|
Up |
|
|
  |
Author: brady.m.adamsbrady.m.adams Date: Jun 27, 2008 09:51
I have a Fortran program that I would like to implement a GUI with. In
doing a little reading around the net it seems that I will probably
want to call a different programming language such as C++, Java, or
Python. Starting out the GUI will be really simple: something like
"You are running blah blah blah. Continue?" --- with yes and no
buttons. If things go smoothly the GUI could get considerably more
complex.
My question: is this feasible? If so what would be the best language
to do this with? I know nothing about C, C++, or Java, but I know a
little Python. Or is there something else that would be better? Are
there any good books or online references on interfacing two different
languages (one of which being Fortran)?
Thank you!
|
| |
|
| | 8 Comments |
|
  |
Author: GaryScottGaryScott Date: Jun 27, 2008 10:44
On Jun 27, 11:51 am, brady.m.ad...@ gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
|
| Show full article (1.17Kb) |
|
| | no comments |
|
  |
Author: Clive PageClive Page Date: Jun 27, 2008 10:49
>I have a Fortran program that I would like to implement a GUI with. In
>doing a little reading around the net it seems that I will probably
>want to call a different programming language such as C++, Java, or
>Python. Starting out the GUI will be really simple: something like
>"You are running blah blah blah. Continue?" --- with yes and no
>buttons. If things go smoothly the GUI could get considerably more
>complex.
>
>My question: is this feasible? If so what would be the best language
>to do this with? I know nothing about C, C++, or Java, but I know a
>little Python. Or is there something else that would be better? Are
>there any good books or online references on interfacing...
|
| Show full article (2.01Kb) |
| no comments |
|
  |
Author: Bil KlebBil Kleb Date: Jun 27, 2008 14:20
Clive Page wrote:
>> I have a Fortran program that I would like to implement a GUI with.
>
> If you want to generate a really complex and full-featured GUI then I
> suspect it might be better to use something like Python or Java to
> create the front-end.
Consider also HTML (and as you like, add in CSS and javascript).
Regards,
|
| |
| no comments |
|
  |
Author: user1user1 Date: Jun 27, 2008 19:46
GaryScott wrote:
> On Jun 27, 11:51 am, brady.m.ad...@ gmail.com wrote:
>> I have a Fortran program that I would like to implement a GUI with. In
>> doing a little reading around the net it seems that I will probably
>> want to call a different programming language such as C++, Java, or
>> Python. Starting out the GUI will be really simple: something like
>> "You are running blah blah blah. Continue?" --- with yes and no
>> buttons. If things go smoothly the GUI could get considerably more
>> complex.
>>
>> My question: is this feasible? If so what would be the best language
>> to do this with? I know nothing about C, C++, or Java, but I know a
>> little Python. Or is there something else that would be better? Are
>> there any good books or online references on interfacing two different
>> languages (one of which being Fortran)?
>>
>> Thank you!
>
> Naw, by far the best solution is to use one of the many GUI builders
> available for Fortran. There's even one semi-RAD tool. There are ...
|
| Show full article (1.55Kb) |
| no comments |
|
  |
Author: Gary ScottGary Scott Date: Jun 27, 2008 20:03
user1 wrote:
> GaryScott wrote:
>
>> On Jun 27, 11:51 am, brady.m.ad...@ gmail.com wrote:
>>
>>> I have a Fortran program that I would like to implement a GUI with. In
>>> doing a little reading around the net it seems that I will probably
>>> want to call a different programming language such as C++, Java, or
>>> Python. Starting out the GUI will be really simple: something like
>>> "You are running blah blah blah. Continue?" --- with yes and no
>>> buttons. If things go smoothly the GUI could get considerably more
>>> complex.
>>>
>>> My question: is this feasible? If so what would be the best language
>>> to do this with? I know nothing about C, C++, or Java, but I know a
>>> little Python. Or is there something else that would be better? Are
>>> there any good books or online references on interfacing two different
>>> languages (one of which being Fortran)?
>>>
>>> Thank you! ...
|
| Show full article (2.03Kb) |
| no comments |
|
  |
Author: Mark WestwoodMark Westwood Date: Jun 30, 2008 02:15
Hi Brady
Well, I slapped a Java front-end on to an existing Fortran code. It
was either that or rewrite the Fortran into Java; commercial pressure
required one or the other. One of the problems I tackled is that Java
doesn't have a very flexible approach to integrating with 'foreign'
languages. There is the JNI (Java Native Interface) which is intended
for integration with 'legacy' code, as long as that code is written in
C or C++. My eventual solution was to first wrap the Fortran in C++,
then to integrate that with the Java. After a lot of head-scratching
I got it working on both Linux (64 bit, 32 bit, .so libraries) and
Windows (32 bit DLL).
|
| Show full article (3.35Kb) |
| no comments |
|
  |
Author: Arjen MarkusArjen Markus Date: Jun 30, 2008 02:54
On 27 jun, 18:51, brady.m.ad...@ gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
|
| Show full article (1.46Kb) |
| no comments |
|
  |
|
|
  |
Author: PeterPeter Date: Jul 3, 2008 12:15
On Jun 27, 9:51 am, brady.m.ad...@ gmail.com wrote:
> I have a Fortran program that I would like to implement a GUI with. In
> doing a little reading around the net it seems that I will probably
> want to call a different programming language such as C++, Java, or
> Python. Starting out the GUI will be really simple: something like
> "You are running blah blah blah. Continue?" --- with yes and no
> buttons. If things go smoothly the GUI could get considerably more
> complex.
>
> My question: is this feasible? If so what would be the best language
> to do this with? I know nothing about C, C++, or Java, but I know a
> little Python. Or is there something else that would be better? Are
> there any good books or online references on interfacing two different
> languages (one of which being Fortran...
|
| Show full article (1.08Kb) |
| no comments |
|
|