News for hackers. Stuff that matters.
Re:Fortran by ribit on Monday August 28, 2023 @12:48PM (#37296988)
I prefer vector types for this kind of stuff, as they are more compact than loops and naturally lend themselves to auto-vectorisation. In the end it comes down to the programming style preference.
Re:Fortran by metal_am on Monday August 28, 2023 @04:33PM (#37300053)
A lot of the code used in scientific computing cannot be vectorized because the latter loop is dependent on the former loop (like time stepping in a simulation). It’s not really a programming style preference.