3 ms·
Oh neat, that’s my blog. My old posts don’t resurface on HN that often. Lots of criticism of my methodology in the comments here. That’s fine. That post was mo
by forrestthewoods 4y ago
Oh neat, that’s my blog. My old posts don’t resurface on HN that often.
Lots of criticism of my methodology in the comments here. That’s fine. That post was more of a self nerd snipe that went way deeper than I expected.
I hoped that my post would lead to a more definitive answer from some actual experts in the field. Unfortunately that never happened, afaik. Bummer.
- brundolf 4y agoMaybe it'll happen here! :)
- the_mitsuhiko 4y agoMy only criticism is the “ugly mess” part. You can implement the traits on references too.
- forrestthewoods 4y agoTrue, that does work for traits. But it's super annoying if you have to write multiple copies of the same thing. That can get out of control quick if you need to implement every combination. And that doesn't help at all if you're writing a "free function" like 3D primitive intersection functions. I suppose you could change that simple function into a generic function that takes AsDeref? Bleh.