Fortran Main with C I/O

Alex Martelli staff at cadlab.sublink.ORG
Fri Sep 21 17:55:04 AEST 1990


joe at hanauma.Stanford.EDU (Joe Dellinger) writes:

	...

>	OK. Are we really a special case? Is there anybody else out there
>that writes Fortran mains but uses C to do the I/O? If so, let me know, so
>we can make a case to them not to do this!

We also use a lot of C routines for I/O within a mostly-fortran
framework!  Particularly because this can speed up I/O from 50%
to 2000% (NOT a misprint - 20 times!) on Unix, OS/2, and Apollo;
apparently the Fortran I/O model mismatches these machines and/or
is too general for efficiency, while with C we can special-case
optimize what we really need, and FLY.  You have my full support!!!

-- 
Alex Martelli - CAD.LAB s.p.a., v. Stalingrado 45, Bologna, Italia
Email: (work:) staff at cadlab.sublink.org, (home:) alex at am.sublink.org
Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; 
Fax: ++39 (51) 366964 (work only; any time of day or night).



More information about the Comp.lang.c mailing list