Liste des Groupes | Revenir à cl fortran |
On 11/12/2024 12:43 PM, Lynn McGuire wrote:My father and two other engineer profs started developing the software back in 1968 on a Univac 1108. It had 32K words of data space and 32K words of code space. To build large software, we had to manually partition the software ourselves so that it would fit into those 32K words of code space. It was a major pain when somebody would update a subroutine and mess up the partition map.I wasn't suggesting a single module. Partition the subprograms into meaningful subgroups. Also, as was indicated, you can use submodules to avoid cascading compilation issues with a large number of modules.>A better alternative would be to put the subroutines in the module and USE the module. Then you don't need the interfaces (the compiler gets all of the interface information "automagically").>>If all of your general purpose subroutines and functions are in modules, you don't need interfaces for them (one of the advantages of modules).
I have 6,000 subroutines in 5,000 files. All I did was put interfaces for about 2,600 of the subroutines into a single module.
>
Lynn
>
850,000 lines of code in a single file ? That would be a mess.
>
Lynn
>
Les messages affichés proviennent d'usenet.