Hacker News new | ask | show | jobs
by jjmarr 8 days ago
In one C++ file, you can call a function in a different file and the compiler doesn't know the implementation. This allows for every file to be compiled in parallel but it blocks many forms of static analysis.

The static analyzers that can follow chains like this are extremely slow (think hours). You could certainly use an LLM but then it'd be even slower and the proof checking would still be a bottleneck.

Rust gets around this by adding annotations to functions in their interface, which happens before any of the code is compiled.