News for hackers. Stuff that matters.
Re:Tor – Arti 1.0.0 is released: Rust Tor implementation rea... by HackerNCoder on Sunday September 04, 2022 @12:17PM (#32714593)
There is some C in the gitlab repo? 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/CONT...

Re:Tor – Arti 1.0.0 is released: Rust Tor implementation rea... by moltonel3x on Monday September 05, 2022 @11:09AM (#32725184)
On 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.
Re:Tor – Arti 1.0.0 is released: Rust Tor implementation rea... by xcdzvyn on Sunday September 04, 2022 @07:23PM (#32718761)
Rust already depends on LLVM
Re:Tor – Arti 1.0.0 is released: Rust Tor implementation rea... by moltonel3x on Monday September 05, 2022 @11:27AM (#32725355)
So ? 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.

Re:Tor – Arti 1.0.0 is released: Rust Tor implementation rea... by Narishma on Sunday September 04, 2022 @09:08PM (#32719420)
Does it depend on clang? Because LLVM can't compile C by itself.