阅读背景:

用于泛型的单独编译

来源:互联网 

C++ has been criticized because it lacks separate compilation of templates. C++ templates are compiled for (virtually) each instantiation. What is the state of the things for Rust concerning separate compilation of generics ? My understanding is that it behaves like C++ except that instantiations are cached during the compilation of each crate. Is that correct ?C++ has been criticized because it lacks separa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: