3 ms·
I have done a fair amount of Rust. The complexity is not in the borrow checker or lifetime. It’s in the combination explosion of the of generic, traits, lifetim
by ww520 3y ago
I have done a fair amount of Rust. The complexity is not in the borrow checker or lifetime. It’s in the combination explosion of the of generic, traits, lifetime, and constraints. When a struct takes on these, all functions and impls need to specify them. The amount of brackets becomes very distracting.
- aldanor 3y agoIt's all relative. I've done my fair share of both C++ and Rust for over a decade and yet I can quite easily read Rust source code for both the Rust standard library and any 3rd party crate. In comparison, reading C++ std headers is complete pain, same as sources of many popular C++ libraries, due to them being overly generic in a C++ way.
- pjmlp 3y agoIncluding Serde macros, and tokio async implementation?