← Sun, Nov 8 digest

I'm Rewriting IBM SPSS Statistics in 100% Safe Rust, Alone

read article ↗ hn thread ↗

A developer built StatCraft, a clean-room open-source alternative to IBM SPSS Statistics written in 100% safe Rust with built-in AI agent support.

summary is enough The project README details an ambitious Rust architecture, while the comment thread features valuable technical context from the author of GNU PSPP.

summary

A solo developer created StatCraft, a clean-room clone of IBM SPSS Statistics written entirely in safe Rust without unsafe blocks. The software features native codecs, pivot tables, and an MCP bridge enabling autonomous local AI agents to run statistical queries. Hacker News discussion heavily debates the utility of SPSS alternatives and the implications of AI-assisted code generation. Notably, the author of GNU PSPP chimed in to highlight the extreme difficulty of reverse-engineering undocumented SPSS formats.

key points

  1. StatCraft is structured across strict architectural layers with zero unsafe blocks or panics in production code.
  2. It integrates an MCP bridge allowing local AI agents like Claude or Ollama to execute commands and stream verified results.
  3. The author of GNU PSPP weighed in, noting the extreme difficulty of reverse-engineering undocumented SPSS file formats.

who should read it

Rust developers and statisticians interested in open-source alternatives to legacy analytical software.

discussion skeptical

consensus

Commenters are heavily skeptical of the project's AI-assisted development and question the real-world utility of rewriting legacy statistical tools.

pushback

Some participants appreciate the technical scope or view it as an interesting experiment in AI-driven coding.

best comment by ben_pfaff ↗

As the author of PSPP, I'm currently rewriting it in Rust myself.

The hard part is figuring out SPSS file formats. They are complex and IBM does not document them. I spent years figuring them out--and I am still working on the format for graphs and charts. Maybe they are trivial for claude, but I doubt it, because there aren't very many examples of the formats easily available. I've collected tens of thousands of examples myself for my use, but I don't have permission to share them, so instead I've documented what I've learned.

The author of GNU PSPP provides firsthand technical insights into the massive difficulty of reverse-engineering undocumented SPSS file formats.

Generated by an LLM from the article and thread. Check the sources before relying on it.