←back to thread

348 points giuliomagnifico | 1 comments | | HN request time: 0.212s | source
Show context
testdelacc1 ◴[] No.46243817[source]
This isn’t a recent decision, which the title implies. This rewrite started in 2020, and they released Arti 1.0 in 2022. Check out the release post (https://blog.torproject.org/arti_100_released/) where they explain their rationale for the rewrite. They were unhappy with the state of the C codebase and couldn’t see a way to slowly refactor it. Their experience with Rust was positive for all the commonly cited reasons - if it compiles it works, good ecosystem leading to development velocity, better portability across operating systems, and attracting more contributors. They did say they weren’t happy at the time with binary sizes.

The change log in the arti repo (https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CHAN...) shows a lot of recent development too- versions 1.6, 1.7 and 1.8 were released in the last 3 months and they talk about setting the foundations for larger features to come. All in all it seems like the decision worked out for the team.

replies(4): >>46243989 #>>46244027 #>>46245200 #>>46246092 #
jfindper ◴[] No.46245200[source]
>better portability across operating systems

Does Rust have better portability than C?

replies(5): >>46245250 #>>46245258 #>>46245324 #>>46245352 #>>46245668 #
1. marcosdumay ◴[] No.46245352[source]
Depends on what C code you are talking about.