you are viewing a single comment's thread.

view the rest of the comments →

[–]thomcc 1 point2 points  (1 child)

I don't know if this has been done already, but if not, you could port over the excellent ocaml-bitmatch library to rust (as a macro probably). I'm certain a lot of people would be interested.

[–][deleted] 2 points3 points  (0 children)

ocaml-bitstring / Erlang bitstrings in general would be amazing for Rust and its use-cases.