News for hackers. Stuff that matters.
Re:Why did we choose Rust to develop TiKV? by Ygg2 on Wednesday September 27, 2017 @06:22AM (#15346355)

   > It supports functional and OO paradigms.
[Citation Needed]

I don't think anything in Rust supports OO paradigm. There are instances where people ask for OO paradigm, but so far, there wasn't any movements towards it.

There is no inheritance and no polymorphism based on it. There is generics polymorphism, but nothing like that.

Hell, even things like

    object.method()
is a sugar for:

    method(&object)
And I mean that in literal sense, you can use the second form always. https://play.rust-lang.org/?gist=6a8111b51c3862caa52c498c79e...
Re:Why did we choose Rust to develop TiKV? by gnuvince on Wednesday September 27, 2017 @07:19AM (#15346645)
Re:Why did we choose Rust to develop TiKV? by Ygg2 on Wednesday September 27, 2017 @07:34AM (#15346721)
True, but what people ask for when they ask for OO is for structs to be extendable.