5 ms·
There is some C in the gitlab repo? https://gitlab.torproject.org/tpo/core/arti/-/graphs/main/charts https://gitlab.torproject.org/tpo/core/arti/-/graphs/main/c
by HackerNCoder 4y ago
There is some C in the gitlab repo? https://gitlab.torproject.org/tpo/core/arti/-/graphs/main/charts https://gitlab.torproject.org/tpo/core/arti/-/graphs/main/ch...
But the CONTRIBUTING doesn't say you need to install a C compiler, so probably not? https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CONTRIBUTING.md https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CONT...
- xcdzvyn 4y agoRust already depends on LLVM
- Narishma 4y agoDoes it depend on clang? Because LLVM can't compile C by itself.
- moltonel3x 4y agoSo ? The fact that rustc compiler uses a component written in C++ doesn't mean that even pure Rust projects have a C++ dependency. Follow any language's bootstrap chain and you'll find C somewhere (or a bootstrapping purists telling you that didn't properly bootstrap the thing), making the "some of the FOOLANG compiler is written in BARLANG" argument pointless. You don't need a C or C++ compiler (not even Clang) to compile Arti. The rustc packages typically use a vendored version of LLVM.
- moltonel3x 4y agoOn single C file, 159 lines compared to 83000 lines of Rust. It's used to generate a cert for unittests, not sure why that's not done in Rust.