News for hackers. Stuff that matters.
Re:Ask HN: Why is scientific programming dominated by dynami... by karmakaze on Friday July 19, 2019 @07:41PM (#20483301)
The effectiveness is largely due to the uniform structure of the data that is being manipulated. This is obviously true with vectors, matrices in 2 or more dimensions.

Even when mixing numeric and textual data it is in a form that's not too difficult to line up. We don't think twice about not providing type annotations in our SQL queries. Most rows from a given relation are similarly shaped and outliers are filtered or conditionally handled. It would be very different if we were trying to operate on a wide range of structured types (e.g. customers, addresses, accounts) as both inputs and outputs. Scientific programming is usually dealing with large aggregates and not about producing individual records.

Re:Ask HN: Why is scientific programming dominated by dynami... by kazinator on Saturday July 20, 2019 @04:09PM (#20488030)
Uniform structure of data favors static languages very well, however; look at how long science has been chummy with Fortran.