• Fuck Yankies@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 days ago

        Well, achually, the Clang compiler along visualcode is planned to compile C++ with a borrow checker implementation.

        Also, C is imperative, C++ is object oriented, and Rust is functional programming - which is how they differer fundamentally.

        That Rust is the first one with a borrow checker doesn’t make every language (or compiler, as I “well achually” myself) that implements a borrow checker Rust.

        It just means they have implemented a borrow checker - most likely at compile time, similarly to how macros are just boilerplate code applied at compile time and that it too is a feature available in many programming languages - or compilers.

        It’s “well achually” all the way down.

        Also, I wrote all this when I realized the minus was the joke part making fun of c++ lol

        I well achually’ed myself into doing a dumb, which is usually what that does. Hopefully somebody gets something out of this.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    9 days ago

    C+

    I highly doubt anyone would guess ANSI C is what I’m talking about if I referred to it as C+

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      To be honest I’m still confused by a lot of these microcontroller languages (PlatformIO/Arduino/ESPHome)…

      Are they just drag and drop feature blocks that are essentially C macros, but you never get to see the code and its all abstracted with flow diagrams?

      • DaPorkchop_@lemmy.ml
        link
        fedilink
        arrow-up
        7
        ·
        9 days ago

        I don’t know about the others, but Arduino is literally just C++ with some macros/library functions.

      • Kratzkopf@discuss.tchncs.de
        link
        fedilink
        arrow-up
        9
        ·
        9 days ago

        The standard Arduino platform is essentially C, just with some standard hardware-near procedures hidden away as far as I know. You can just write standard C code in two blocks: init and loop. Then the loop block will be repeated for ever. For controlling voltage pins you have easy commands similatlr to like pinState(PinNumber, on/off). I do not know about the others you mentioned, but there definetely is also some implementations for Raspberry Pi control by drag&drop. There is no need to limit yourself with those though.

  • Owl@mander.xyz
    link
    fedilink
    arrow-up
    16
    ·
    9 days ago

    Language

    I have job for you “language” programmers.

    Requirements; -minimum 8 years of experiences Etc…