Hacker News new | ask | show | jobs
by MarsIronPI 150 days ago
Which is why runtime polymorphism in Rust is very hard to do. The its focus on zero-cost abstractions means that the natural way to write polymorphic code is compiled (and must be compiled) to static dispatch.