I think about software safety, code analysis, and the foundations that make software effective. My views range from memory-safe ways to keep existing C and C++ code practical to the quality of the building blocks used by AI agents.
I find Fil-C interesting: it is a compiler/runtime that makes almost all standard C/C++ code completely memory safe.
I recognize that the performance overhead is not negligible.
I see plenty of cases where rewriting C/C++ in Rust still is not a practical solution.
I see Fil-C as an interesting option when a Rust rewrite is impractical, while keeping the non-negligible performance overhead in view. @filpizlo described programs ported to Fil-C as totally memory safe, with many requiring zero changes or only small cosmetic changes. The quoted list included musl libc, libc++, libc++abi, WG14 signals, libuev, icu4c, zlib, bzip2, bzip3, xzutils, pcre, pcre2, jpeg-6b, ncurses, libedit, openssl, curl, openssh, mg, tcl, sqlite, cpython, zsh, lua, simdutf, quickjs, simdjson, ada-url, libffi, and zstandard. The source labels libc++, libc++abi, icu4c, simdutf, simdjson, and ada-url as C++, and ncurses as some C++.
On 2025-12-17, I said my post was in line with my article on code analysis from 14 years ago.
I linked to my earlier code-analysis article at https://t.co/ORbVev76rh. The post quoted @CUDAHandbook’s announcement of a Svbstack article about the Qt Group’s Axivion static code analyzer and its recently added CUDA support; the announcement described that article as the first in a series.
I think AI may be able to write massive software projects “from scratch,” but that is almost certainly not the fastest, highest-performance, highest-security, or most token-efficient approach.
I think good building blocks matter.
I think that, in addition to RL’ing agents on final task loss, we should try to get them to regularize the building blocks as well.
I ask what the standard library would look like that makes the agents most effective.
I think that, at the limit, the best organization of code is likely to turn out to be some alien organization of code.
Given the existing human-bias in training, I bet that in the near term the most effective code would be lovely code that old programmers would appreciate.
I suspect the same could be said for mathematics, but that is out of my lane.
These are proposals and observations rather than reported experiments: I gave no measured results for the training direction or quantified performance comparison for Fil-C. I see the near-term value of building blocks as connected to code that programmers can understand and reuse, including the concerns I discuss in code style and language habits and software apis and reuse.
Related: debugging and reliable software, representations for code, software apis and reuse