I've renamed my working branch to never-ending-story because that's how I feel about rust, it's not fun anymore.
Often, I do a small PoC which works but then I put it inside bigger project I'm hitting one wall after another. Sure, simple examples work fine but advanced usage almost always break and I don't have any expectations anymore (I will avoid new features next time).
Some examples:
- it's still not possible to write your own smart pointer
which would work with dyn traits, including coercions
- macros have artificial limits when called from other
macros (which is exactly why you can't do a PoC and put it into bigger project)
- borrow-checker is very dumb and even simple things like
x(&mut self.a, &mut self.b) don't work and require you
to do destructures, inners and other mumbo-jumbos.
- often, solution is to write macro, I feel like I'm
writing macros all the time lately
(and macros are entirely different language BTW)
Often, I do a small PoC which works but then I put it inside bigger project I'm hitting one wall after another. Sure, simple examples work fine but advanced usage almost always break and I don't have any expectations anymore (I will avoid new features next time).
Some examples: