cd /news/developer-tools/an-ai-case-study-qdldl-fortran · home › topics › developer-tools › article
[ARTICLE · art-144899] src=fortran-lang.discourse.group ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

An AI case study: qdldl-fortran

Developer Jacob Williams used Claude Opus 5.5 to port the QDLDL sparse linear algebra C library to Fortran, publishing the result as qdldl-fortran on GitHub. The AI wrote the Fortran conversion and unit tests validating the results against the original C, and benchmarked both, with the Fortran version running slightly faster. Williams said he did not touch the code and pulled the library into his other project as an FPM dependency in less than an hour.

read1 min views1 publishedOct 4, 2026

I needed some sparse linear algebra code for a project (more on that later). Using AI (Claude Opus 5.5), it suggested I just convert qdldl to Fortran. I had never seen this library before, but it looked like a pretty straightforward C code. So, I had the AI develop a plan for converting it to Fortran and making it an FPM package.

The result is here: GitHub - jacobwilliams/qdldl-fortran: Modern Fortran edition of QDLDL · GitHub It’s pretty amazing. I haven’t touched the code at all. The AI ported it over to Fortran, and wrote unit tests to validate the results. I suggested it build the original C and compare the timings, and it did all that too. Note that the Fortran is a little bit faster in general. In less than an hour I was able to pull it in as a dependency (via FPM) into my other project and continue what I was doing, and it seems to be working great.

── more in #developer-tools 4 stories · sorted by recency
── more on @jacob williams 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/an-ai-case-study-qdl…] indexed:0 read:1min 2026-10-04 · —