[rust-dev] "Virtual fn" is a bad idea

Patrick Walton pcwalton at mozilla.com
Thu Mar 13 07:49:37 PDT 2014


On 3/13/14 6:00 AM, Benjamin Striegel wrote:
> Is it correct for me to assume that, even if accepted, virtual things
> will be behind a feature flag for 1.0? If so, then I think that will be
> enough friction to cause library authors to favor traits instead,
> especially if users of virtual-using-libraries would have to turn on the
> feature flag as well.

Yes, I think that's almost certain.

I think, based on the feedback, that the idea needs some time to bake 
anyhow.

Patrick



More information about the Rust-dev mailing list