Re: prevent out of memory
Date: 5 Aug 2004 13:08:43 -0700
Jean-David Beyer <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> You can write just as bad program (from the point of view of data
> reference locality) using non OO techniques as you can with OO techniques.
> One way of looking at this is to say that C++ programs are OO and C
> programs are not. (I recognize you can use a C++ compiler and not do OO,
> and one can use even FORTRAN and write OO, though that would be a stretch).
Fortran 95 lets you define data types with public and private members,
so some OOP is possible. There is a book "Object-Oriented Programming
via Fortran 90/95"
by Ed Akin. Fortra 2003 adds further support for OOP, including
inheritance. You can get a free Fortran 95 compiler for Linux from
www.g95.org . It still has some kinks but is usable for learning.