• ZILtoid1991
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    2
    ·
    21 days ago

    Will this finally be the end of Windows?

    Also fun fact: Windows uses a lot of COM Interfaces for API, which in my opinion often makes developing for Windows a better experience, than developing for Linux. Rust does not have anything OOP related by default, and are often emulated with macros instead, like in C.

    • SuperSpruce@lemmy.zip
      link
      fedilink
      English
      arrow-up
      8
      ·
      21 days ago

      I work for a company developing software for Windows and deal with COM all the time. How do you communicate across dynamic libraries and languages in Linux?

    • HaraldvonBlauzahn@feddit.org
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      20 days ago

      Rust has traits and reference counting which map nicely to COM objects.

      By the way, the Linux Kernel is OOP. That’s a good choice for things like queues, file systems, and device drivers.

    • nialv7
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      20 days ago

      That’s a crazy take. I hate com and oop with a passion. If you like com that much there’s gobject for you on Linux.

      • ZILtoid1991
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 days ago

        I hate everything GTK/GNOME, they didn’t even call it gnobject.