How to Bypass Rust's Orphan Rule

(edvong.com)

17 points | by todsacerdoti 21 hours ago ago

4 comments

  • reallyreason 20 hours ago

    Isn’t this essentially a form of, or encoding of, named impls?

  • foolgry 6 hours ago

    [flagged]

  • hyperman1 10 hours ago

    While I think rust is one of the best languages today, this is a corner where it reminds me of C++: Here is a rule with lots of tiny special cases, it has painful consequences in the real world, and if everyone adds some 'best practice' magic to their code, we have 90% of a solution.

  • juped 20 hours ago

    This is an absurd. horrifying hack. I hope library authors start putting it in their traits immediately.