3 ms·
> Hence why rust internally split one "semantic code unit" into multiple internal code units passed to LLM. And the same has happened in C and C++ land, albeit
by wahern 2y ago
> Hence why rust internally split one "semantic code unit" into multiple internal code units passed to LLM.
And the same has happened in C and C++ land, albeit in the opposite direction, where multiple compilation units can be optimized together, i.e. LTO. See, e.g., GCC's -flto-partition option for selecting strategies for partitioning symbols for LTO.
Also note that you can manually partition LTO in your Makefile by grouping compilation units into object files to be individually LTO'd.
- dathinab 2y ago> C and C++ land, albeit in the opposite direction, [...] LTO you also have that in rust to link different crates (and the internal splits for parallel compute) together