[tor-bugs] #23878 [Core Tor/Tor]: Attempt rewriting buffers.c in Rust

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 16 16:15:59 UTC 2017


#23878: Attempt rewriting buffers.c in Rust
-----------------------------------------+---------------------------------
 Reporter:  isis                         |          Owner:  (none)
     Type:  enhancement                  |         Status:  new
 Priority:  Medium                       |      Milestone:  Tor:
                                         |  0.3.4.x-final
Component:  Core Tor/Tor                 |        Version:
 Severity:  Normal                       |     Resolution:
 Keywords:  rust-pilot, rust, datatypes  |  Actual Points:
Parent ID:                               |         Points:  3
 Reviewer:                               |        Sponsor:  Sponsor8-can
-----------------------------------------+---------------------------------

Comment (by manish.earth):

 Oh, I misunderstood the code; yeah, VecDeque<Vec<u8>> would be good
 (VecDeque<Bytes> is similar but has extremely minor refcounting overhead
 which we probably can live with)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23878#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list