Comment by jstanley
10 hours ago
> Go has sub-second build times even on massive code-bases.
Unless you use sqlite, in which case your build takes a million years.
10 hours ago
> Go has sub-second build times even on massive code-bases.
Unless you use sqlite, in which case your build takes a million years.
Try https://github.com/ncruces/go-sqlite3 it runs sqlite in WASM with wazero, a pure Go WASM runtime, so it builds without any CGo required. Most of the benchmarks are within a few % of the performance of mattn/go-sqlite3.
Yeah, I deal with multiple Go projects that take a couple minutes to link the final binary, much less build all the intermediates.
Compilation speed depends on what you do with a language. "Fast" is not an absolute, and for most people it depends heavily on community habits. Rust habits tend to favor extreme optimizability and/or extreme compile-time guarantees, and that's obviously going to be slower than simpler code.