Xref: utzoo comp.lang.c:32026 comp.lang.fortran:3824 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!deejay!gear!cadlab!staff From: staff@cadlab.sublink.ORG (Alex Martelli) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: Fortran Main with C I/O Message-ID: <273@cadlab.sublink.ORG> Date: 21 Sep 90 07:55:04 GMT References: <1044@helens.Stanford.EDU> Organization: CAD.LAB, Bologna, Italia Lines: 20 joe@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@cadlab.sublink.org, (home:) alex@am.sublink.org Phone: (work:) ++39 (51) 371099, (home:) ++39 (51) 250434; Fax: ++39 (51) 366964 (work only; any time of day or night).