News for hackers. Stuff that matters.
Re:Hypothesis, Antithesis, Synthesis by tybug on Tuesday March 24, 2026 @07:05PM (#47510829)
`from_type` just supports a bunch more things than rust ever can due to the flexibility of python's type system. `from_type(object)` is amazing, for example, and not something we can write in rust.
Re:Hypothesis, Antithesis, Synthesis by DRMacIver on Wednesday March 25, 2026 @08:48AM (#47516639)
Yeah, that's true. I was going to say that it's maybe not fair to count things that just don't even make sense in Rust, but I guess the logical analogue is something like `Box<dyn MyTrait>` which it would make sense to have a default generator for but also we're totally not going to support that.