Tor codebase struggles are real! : Tor | Torhoo darknet markets
I’m honestly about to lose it trying to work with Tor core repo. It’s a tangled mess of technical debt that makes adding trying new things a nightmare. Every time I try to improve something, I feel like Im walking on eggshells any wrong move and ahh shit here we go again. As all of you know tor works on single threaded design doesn’t take advantage of modern concurrency and multi threading, and the memory issues are just a disaster waiting to happen. Honestly single threaded application are not bad as most of the people show them but if something work on this scale it needs to be multi threaded, it's been almost 6 hours me doing back and forth with this shit. There is a solution that devs come up with which is Arti. It could be a game changer as it offers full rewrite in rust, and it’s so much better. Memory safe, multi threaded, and modular it makes development way faster and smoother. Arti can scale, handle DDoS attacks better, and integrate directly into applications without extra processes. It’s like breathing fresh air compared to the suffocating mess that is tor C repo.
But here is the main issue comes up, arti is not recommended to be used on production environment as it is still in development. So I am giving new devs a advise that if you think you can fix something in current codebase then sorry to say you are not going anywhere other than a suicide mission.
I just wish Arti was the standard already. The future of tor needs this.