Special

Special Print Closeout!

We're clearing out the remainder of our print issues at fire sale prices -- as much as 75% off! Quantities are extremely limited and only available while supplies last. Hurry to take advantage of this one-time offer.

RBD Magazines

Once these printed back issues are gone, they are gone!

Article Preview


Buy Now

Print:
PDF:

Beyond the Limits

Legacy code: why throw it away?

Objective

Issue: 4.5 (May/June 2006)
Article Description: No description available.
Article Length (in bytes): 8,631
Starting Page Number: 46
RBD Number: 4518
Resource File(s): None
Related Web Link(s):

http://www.netlib.org/f2c
http://fink.sf.net
http://www.fortran.com/
http://crd.lbl.gov/~dhbailey/
http://www.fortran.com/

Known Limitations: None

Excerpt of article text...

This issue's column - and probably the next one - started as an email conversation between a reader (Franco Vaccari -- not to name him) and me. It rapidly developed to a point where I had enough material for an article that could interest more than one reader. So we broadened a bit the field of our discussion and this article is a snapshot of the ongoing effort we are making on providing a framework to re-compile Fortran code into C code and reuse it in RB. Franco's original requirement is to be able to reuse heaps of Fortran code they have developed at his institution, using f2c (http://www.netlib.org/f2c) to convert F77 code to C. With C source code, gcc and some Declares, and a bit of patience too, we should be able to recycle Gramps' code, right? Let's see how...

Objective

This column will lay the ground work for an automated Fortran-to-C-to-RB build framework. The ultimate objective would be of course to use RB 2006's latest shiny feature, IDE scripting. But in the meantime, we'll do the following:

...End of Excerpt. Please purchase the magazine to read the full article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com