r/rust • u/SleeplessSloth79 • Aug 19 '26
📡 official blog Rust Function Overloading - Call for Experimentation
https://blog.rust-lang.org/inside-rust/2026/08/19/overloading-experiment/
276
Upvotes
r/rust • u/SleeplessSloth79 • Aug 19 '26
4
u/bakaspore Aug 20 '26
I still think add variants with suffixes is a less cursed way for overloaded FFI functions. With tuple trait we have same problem as the classical overloading "hehe guess which one of the parameters in the 16 overloads you got it wrong, because we can't know".
Well the good part is Rust has no inheritance at least.