3 ms·
Fortran is actually pretty okay if you're doing matrix or vector operations! Builtin cross products, you choose how the array is indexed when you create it, can
by StableAlkyne 2y ago
Fortran is actually pretty okay if you're doing matrix or vector operations! Builtin cross products, you choose how the array is indexed when you create it, can enforce functional purity to help you parallelize, etc
It is hot garbage for almost anything that isn't math though - which is okay, because it's been focused math from the start - strings and parsing an unstructured input is an exercise in pain for example. And the ecosystem is heavily geared toward math and scientific computing, so you will find yourself rolling your own stuff quite often if you deviate from that niche
- pklausler 2y ago> you choose how the array is indexed when you create it, How?
- barkingcat 2y agohttps://fortran-lang.org/learn/quickstart/arrays_strings/ https://fortran-lang.org/learn/quickstart/arrays_strings/ during array creation you can specify custom lower bound.