For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2006 > Re: Bounds Check Overhead









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Bounds Check Overhead
Jan Vorbrüggen

2006-05-29, 8:05 am

> The design decisions made in Ada are always in favor of 1, maybe at the
> cost of some idioms. So in Ada modifying the index of a loop isn't a
> "bounded error" as it seems to be in Fortran, it is a compile-time error.


My take is that current Fortran enables a compiler to behave in a similar way
_if_ your program obeys certain rules - I suspect the restrictions implemented
by F (a "modern" subset supported, at least, by a mode in g95) fulfil these
rules. However, the desire to support older source code makes it impossible
to remove the "escape routes" from the standard and to mandate the necessary
restrictions for the language.

Jan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com