Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats unique about FOR_C?

for_c
0
Posted

Whats unique about FOR_C?

0

• FOR_C was the first FORTRAN to C translator to generate C prototypes from the original FORTRAN, permitting FORTRAN argument checking, and determining which user function arguments could be passed by value (versus address). This resulted in greatly simplified function call translations, which are much easier to maintain. • FOR_C was the first FORTRAN to C translator to pass intrinsic functions by value rather than address. This results in faster code – and permits calls directly to the standard C library (rather than an intermediate function which, in turn, calls the C library function using the normal pass by value). • Similarly, FOR_C was the first to translate statement functions using pass by value for scalar arguments, for simpler, easier to maintain code. • FOR_C was the first FORTRAN to C translator to generate optional translation to standard C fprintf() and fscanf() functions from F77 formatted WRITEs and READs. It was also the first to translate list directed WRITEs into fpr

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123