Tor in a safer language: Network team update from Amsterdam
lists.torproject.org
Tor in a safer language: Network team update from Amsterdam
1–10 of 254 posts
Re: Tor in a safer language: Network team update from Amsterdam
#2Re: Tor in a safer language: Network team update from Amsterdam
#3Edit: cgo != Go. Thanks for the responses. I have done a bit of Go, but just pure Go.
Re: Tor in a safer language: Network team update from Amsterdam
#4I am curious why they were advised not to use Go. Probably not a safety concern. Edit: cgo != Go. Thanks for the responses. I have done a bit of Go, but just pure Go.
Re: Tor in a safer language: Network team update from Amsterdam
#5Re: Tor in a safer language: Network team update from Amsterdam
#6Re: Tor in a safer language: Network team update from Amsterdam
#7I am curious why they were advised not to use Go. Probably not a safety concern. Edit: cgo != Go. Thanks for the responses. I have done a bit of Go, but just pure Go.
Therefore a slow transition of rewriting parts of the code in a safer language and having the core still in C is much less feasible with Go. With Rust you can easier just compile some object files and link them into your application.
Re: Tor in a safer language: Network team update from Amsterdam
#8This is exciting not only because of the Tor project itself but because this will set an example for other projects to follow.
Re: Tor in a safer language: Network team update from Amsterdam
#9I don't know much about Tor. But I hope I can route all of my home network traffic through it. That or route everything through VPN. I'll bet you can guess why I'm suddenly interested.
Re: Tor in a safer language: Network team update from Amsterdam
#10I am curious why they were advised not to use Go. Probably not a safety concern. Edit: cgo != Go. Thanks for the responses. I have done a bit of Go, but just pure Go.
A pure-Go rewrite might be an option (in fact Tor seems pretty firmly in Go's use cases), but that's not what the Tor team is trying to do.
[0] https://dave.cheney.net/2016/01/18/cgo-is-not-go
[1] a cgo->c call is ~100 times more expensive than a go->go call, and ~400 times more expensive than a c->c or rust->c call https://www.reddit.com/r/golang/comments/3oztwi/from_python_...
[2] https://www.cockroachlabs.com/blog/the-cost-and-complexity-o...