I have met a couple of them in real life, and a few I have met online. The sample is not significant enough to draw any conclusions about their point of view and background.

I am more than interested in your opinions about the personality and political makeup of people who express this type of pro-C bigotry.

  • SorteKanin@feddit.dk
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Which foreign concepts do Rust use? The borrow checker/ownership is new but that’s really the only thing that doesn’t already exist in some other language.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      The borrow checker, the way it handles exceptions and nulls, the way it handles stack/heap (possibly foreign to me because I’ve never done much on C), composition pattern instead of oop, probably more I’m forgetting

      • SorteKanin@feddit.dk
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        The borrow checker

        This is indeed pretty unique.

        the way it handles exceptions and nulls

        This is really just the fact that Rust has sum types - but those kinds of types have been used in many functional languages (Haskell for example) for a long time.

        the way it handles stack/heap

        This is just the same as C and C++ and any other low-level language that requires you to distinguish between the stack and heap.

        composition pattern instead of oop

        I mean if you’re only looking at OOP languages then this will be new, but functional languages have done this for a long time.

        So yea, I think a big part of what makes Rust great is that it has managed to take these really, really good ideas from functional programming languages and made them work in a language that is not entirely functional. This leads to a perfect blend/best of both worlds with regards to OOP and functional programming :)

        • locuester
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Yeah it’s just the borrow checker and ownership stuff that throws you for a loop. Particularly with large system design