home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 5,090 of 5,127   
   Thomas Koenig to Michael S   
   Re: "Internationalis(z)ing Code - Comput   
   05 Feb 26 18:38:48   
   
   XPost: comp.lang.c++   
   From: tkoenig@netcologne.de   
      
   ["Followup-To:" nach comp.lang.fortran gesetzt.]   
   Michael S  schrieb:   
   > On Thu, 5 Feb 2026 07:23:41 -0000 (UTC)   
   > Thomas Koenig  wrote:   
   >   
   >>   
   >> Parsers are a field where Fortran does not shine, although allocatable   
   >> characters have made this much easier.   
   >   
   > Another field where Fortran "does not shine" is handling of huge   
   > uni-dimensional arrays.   
      
   Why?   
      
   If you are referring to pre-Fortran-90 days, you are also 35   
   years in the past :-)   
      
   A bit more verbiage than required (usually, I would expect people   
   to put their kind numbers into modules):   
      
   module my_kinds   
     use iso_fortran_env, only: real64, int64   
     implicit none   
     private   
     public :: ik, rk   
     integer, parameter :: ik = int64, rk = real64   
   end module my_kinds   
      
   program main   
     use my_kinds   
     implicit none   
     integer(ik) :: sz   
     real(rk), allocatable, dimension(:) :: array   
     read (*,*) sz   
     allocate(array(sz))   
   end program main   
      
   works just fine.   
      
   --   
   This USENET posting was made without artificial intelligence,   
   artificial impertinence, artificial arrogance, artificial stupidity,   
   artificial flavorings or artificial colorants.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca