I believe that Ladybird has more funding and better support for the web, but Servo wins in performance. Though, they’re hard to compare directly!

  • taladar@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    23
    ·
    6 days ago

    Which probably means it uses deep inheritance hierarchies since that is the one thing that does not exist in Rust (and for a good reason).

    • barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      You can do deep hierarchies in Rust, the thing Rust doesn’t have is implementation inheritance. Or more precisely said implementation inheritance that relies on anything but the interface (traits can have default methods but they’re part of the trait definition, not any implementation).

      • taladar@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        Yes, most likely they use it for implementation inheritance which is sloppy anyway since it usually violates the Liskov substitution principle and also most OOP languages that have that concept tend to have issues around co- and contra-variance in either function parameter and return types or containers or both.