News for hackers. Stuff that matters.
Re:Research software code is likely to remain a tangled mess by WanderPanda on Monday February 22, 2021 @08:23AM (#26224179)
In my experience simplicity and generality don‘t go well with performance. If you want to build something that can be used for all kinds of problems and it is simple it will be slow as hell compared to the (dirty) optimised code running hardcoded structures on the GPU
Re:Research software code is likely to remain a tangled mess by j-pb on Monday February 22, 2021 @09:54AM (#26225186)
Simplicity pretty much excludes generality in a lot of cases, you're only able to port code to the GPU if it wasn't a million LOC to begin with, so you're pretty much making the case for it.

Note that Simple != Easy or Naive

Hardcoded structures is potentially exactly the kind of simplicity needed.

What's not simple is a general "this solves everything and beyond" code-base with every imaginable feature and legacy capability.