News for hackers. Stuff that matters.
Re:Differentiable Fortran with LFortran and Enzyme by wombatpm on Tuesday July 14, 2026 @10:30AM (#48907506)
Lots of scientific code in Fortran has sparse arrays, so a NxN array that only has values on 5 diagonals will store that as 5xN array to save memory allowing you to run a larger problem.
Re:Differentiable Fortran with LFortran and Enzyme by srean on Tuesday July 14, 2026 @10:34AM (#48907579)
That's a very orthogonal issue.

Sparse arrays are supported on C libraries too. I have done my time with CSC and CSR even inside Python that called out to C libraries.