News for hackers. Stuff that matters.
Re:Research software code is likely to remain a tangled mess by j-pb on Monday February 22, 2021 @10:00AM (#26225258)
How the heck to you hope to gain any insighfull metrics when you've got a cobbled together mess that you only half understand. For what it's worth you might only be benchmarking random code layout fluctuations.

I've seen research groups drown in their legacy code base.

The issue of juggling too many balls you describe is one you only have to begin with because the state of the art implementations are so shoddy to begin with.

Research suffers as much as everybody else from feature creep. Good experiments keep the number of new variables low.

Re:Research software code is likely to remain a tangled mess by gmueckl on Monday February 22, 2021 @10:54AM (#26225898)
Research code is not only written to measure runtime. Reducing the argument to only that aspect is not helping the discussion.

And you say it yourself: good experiments change a single variable at a time. So how do you check that a series of potential improvements that you are making is sound?

Re:Research software code is likely to remain a tangled mess by tylermw on Monday February 22, 2021 @01:00PM (#26227798)
> good experiments change a single variable at a time

Although this is a tangent from the above conversation, this isn't actually true: well-designed experiments can indeed change multiple variables at the same time. There's an entire field of statistics dedicated to experimental design (google "factorial designs" for more information). One-factor-at-a-time (OFAT) experiments are often the least efficient method of running experiments, although they are conceptually simple.

See the following article for a discussion: http://www.engr.mun.ca/~llye/czitrom.pdf