Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The right way to handle this stuff is polymorphism. But with Rust lacking higher-kinded types I guess that's not possible. A decent test of whether their "associated type constructors" actually solve the same problems, as sometimes claimed, would be whether you can write this kind of async-polymorphic code with them.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: