The low level trie Rust challenge
I have tried to build a low level trie impl in Rust and just gave up because it was too much work making the compiler happy. I then went ahead and wrote in in C++ in a couple of evenings. I would still like to know whatever this is possible / viable in Rust.
I’m assuming that this is the case, but I don’t know how to start. Any dear reader feels like taking this upon themselves to port the C++ code to Rust? It is all working and there are unit tests, and I think that the design should match well the Rust design philosophy, but the borrow checker actively worked to me give up doing that in Rust, and I would like to both see this implemented in Rust and hear what the experience was like.
Comments
Did you see the discussion over at HN regarding your post about the struggle you had? There are some suggestions regarding the implementation in the comments:
https://news.ycombinator.com/item?id=13470592
Markus, That was interesting discussion
https://locka99.gitbooks.io/a-guide-to-porting-c-to-rust/content/
Comment preview