liu.seSearch for publications in DiVA
Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Standardized mixed language programming for Fortran and C
Linköpings universitet, Matematiska institutionen, Beräkningsvetenskap. Linköpings universitet, Tekniska högskolan.
Visual Numerics Inc., Albuquerque, NM.
University of Kent, Canterbury, England.
2009 (engelsk)Inngår i: ACM SIGPLAN Fortran Forum, ISSN 1061-7264, Vol. 28, nr 3, s. 8-22Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

Programmers have long practiced the matter of mixed language procedure calls. This is particularly true for the programming languages C and Fortran. The use of the alternate language often results in efficient running time or the effective use of human or other resources.

Prior to the Fortran 2003 standard there was silence about how the two languages interoperated. Before this release there existed a set of differing ad hoc methods for making the inter-language calls. These typically depended on the Fortran and C compilers. The newer Fortran standard provides an intrinsic module, iso_c_binding, that permits the languages to interoperate. There remain restrictions regarding interoperable data types.

This paper illustrates several programs that contain core exercises likely to be encountered by programmers. The source code is available from the first author's web site. Included is an illustration of a "trap" based on use of the ad hoc methods: A call from a C to a Fortran 2003 routine that passes a character in C to a character variable in Fortran results in a run-time error.

sted, utgiver, år, opplag, sider
New York: ACM , 2009. Vol. 28, nr 3, s. 8-22
Emneord [en]
Fortran, C
HSV kategori
Identifikatorer
URN: urn:nbn:se:liu:diva-52950OAI: oai:DiVA.org:liu-52950DiVA, id: diva2:286269
Tilgjengelig fra: 2010-01-14 Laget: 2010-01-14 Sist oppdatert: 2018-01-12

Open Access i DiVA

Fulltekst mangler i DiVA

Andre lenker

http://portal.acm.org/citation.cfm?id=1667140.1667142&coll=ACM&dl=ACM&idx=J286&part=newsletter&WantType=Newsletters&title=ACM%20SIGPLAN%20Fortran%20Forum&CFID=68644909&CFTOKEN=49286780

Personposter BETA

Einarsson, Bo

Søk i DiVA

Av forfatter/redaktør
Einarsson, Bo
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric

urn-nbn
Totalt: 368 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf