Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

How to Bypass Rust's Orphan Rule (https://edvong.com)

18 points by todsacerdoti 1 day ago | 3 comments | View on ycombinator

reallyreason 1 day ago |

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

foolgry about 22 hours ago |

[flagged]

hyperman1 1 day 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 1 day ago |

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