TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rewrite Tor in Rust

94 pointsby Jonhooabout 9 years ago

5 comments

kibwenabout 9 years ago
The OP is likely nothing more than wishful thinking, but I can see why people are intrigued by the prospect. An important thing to note is that it's entirely possible to perform a slow, gradual integration of Rust code into a C/C++ codebase (such as Mozilla is doing with Firefox), but only if your codebase is sufficiently modular with well-defined interfaces for Rust-based libs to slot into. If all you've got is a big ball of mud, then your first step is to work on the modularization of your codebase (which, IMO, has a good chance of increasing your code quality regardless of whether you eventually decide to introduce any Rust).
评论 #11618585 未加载
评论 #11618606 未加载
评论 #11618576 未加载
axman6about 9 years ago
As a side note, Galois have written an implementation of Tor which happily interacts with official tor, for use in HalVM based unikernels. So, if you want ephemeral tor nodes, HalVM is a pretty great way to get it working.<p>Edit: Video about it [2]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;GaloisInc&#x2F;haskell-tor" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GaloisInc&#x2F;haskell-tor</a> [2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oHcHTFleNtg" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oHcHTFleNtg</a>
CoconutPilotabout 9 years ago
Is there an anti-pattern for this kind of thing? Its a two line bug report suggesting years of development effort. There is a huge multiplication factor between the time invested by the bug reporter and the time required to do what he asks.
评论 #11618570 未加载
erlend_shabout 9 years ago
The discussion is 10 months old and never went anywhere. What makes this relevant now?
roywigginsabout 9 years ago
It would be a bit embarrassing to rewrite in Rust and then have the network penetrated because they screwed up the crypto during the rewrite...