Rust vs Golang in the post-LLM world...
I've been toying around comparing what I know with driving LLMs but using less strict languages.
- Rust provides a better feedback loop into the LLM when it gets it wrong and inhibits bad outcomes/steers via the compiler
- Rust compile times are slow (even when using sccache locally), which means more loopbacks to the LLM due to the precision required.
- Golang tends to just accept it, so steering is via an out-of-compiler eval loop and has to run Golang w/race staticcheck propertybased-tests more often, but they work well at inhibiting bad outcomes
- Golang compile times are fast af (without any Bazel or sccache optimizations), so loopbacks are faster than rust
So it's kind of, hmmm. Both are the same because the compile times and the right techniques enable a faster LLM dev cycle loop, but Rust is more precise.
I have mixed feelings about this, but it's fascinating. It has me thinking about approaches and tempting me to try a large experiment measuring DevX and automated refactorability side by side. In short, I am enjoying Golang more than I expected.
Perhaps, all that matters is compile speed.