Does Fortran 2025 provide pointers and make it possible to dereference an
invalid pointer? If not, then I guess that’s one reason to use it instead
of C.

On Tue, Jan 14, 2025 at 6:28 AM Peter Corlett via cctalk <
cctalk@classiccmp.org> wrote:

> On Mon, Jan 13, 2025 at 06:51:15PM -0800, Van Snyder via cctalk wrote:
> > On Mon, 2025-01-13 at 17:16 -0800, Joseph S. Barrera III via cctalk
> wrote:
> >> FORTRAN was a dead end, both in syntax (line-oriented, line numbers) and
> >> semantics (common blocks, static arrays, very poor string support).
> > Fortran 2025, the sixth edition, is rather different from 1956.
>
> So what, though? "The Intel® Fortran Compiler 2025" just uses the LLVM
> backend, as does flang, the other contender, so the resulting code is going
> to perform much the same as anything else using LLVM.
>
> The only good reason to use Fortran today is if you have a large legacy
> codebase in Fortran, or are targetting a platform which is not supported by
> LLVM. Arguably the same applies to C.
>
> A bad reason to pick Fortran or C is having been taught it at school and
> then making no effort to update one's skills at any point in the
> intervening
> decades.
>
>

Reply via email to