- Forget LLMs, we need more good-old-fashioned code generation. Especially in science. I should be able to define models, analysis, wet-lab protocols, and figures in a declarative language (SQL is declarative), and use opinionated tools to generate the required code. github.com/sqlc-dev/sqlc
- "Scientific code is too intricate, and requires human attention." A huge amount of variance in scientific code is self-imposed noise. How many bugs boil down to getting the dimensions of a matrix wrong? Code generation means that those decisions are made for you.Dec 30, 2024 15:53
- Dimension errors are the "missing semi-colon" of scientific code. They cause an inordinate amount of pain, but can be solved trivially with post-processing of code.