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

Why do you think Rust not supporting variadic generics is the right thing?



Because Rust is not C++?


Wouldn't variadic generics make working with tuples of any length easier[1], as const generics did for arrays? If that is the case, then I don't see how Rust not being C++ matters in this case.

[1] https://docs.rs/tuple_list/latest/tuple_list/




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: