News for hackers. Stuff that matters.
Re:Rust: Not So Great For Codec Implementing by Sean1708 on Wednesday August 02, 2017 @05:25AM (#14909125)
Do you mean something like this[0] (probably the worst possible implementation but I was in a rush)? I suppose you still have to create a "class" but you could set it up to use syntax like `V4(1, 2, 3, 4)` if you prefer.

[0]: https://play.rust-lang.org/?gist=989fe1c05e3e68df89642032743...

There are no comments on this comment yet.