|
|
|
|
|
by twic
2227 days ago
|
|
The planned const generics syntax is going to look pretty weird, because it builds on type generics. If Rust had chosen a different syntax for type generics, const generics might look less weird. The futures design was built with epoll in mind, and now people are trying to wrap it round io_uring, they are feeling some pain. Would a different design have worked better, without massive drawbacks? |
|
Could you provide an example? Because I don't really see it, except by requiring that non-const generics also be explicitly annotated?