Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

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