• chuck@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    I mean you’re not wrong but I’d argue you can get more interesting cve’s using a higher more performant language such as c++. Where there are are ways to include CVE 's from C and introduce new ones to each level of your program using inheritance.

  • 0x0@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Ah yes, the rust zealots shitting on one of the most important languages of all time… again.

    Kinda weird how the number one way to promote Rust has been to downplay C and others.

  • Richard@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    3 months ago

    C is the hardware language N°1 of the high-level languages. If you actually want to know and control what happens in the machine, you write in C. Rust, C++ and all the other abstractions are for people who do not understand how computers and computer memory work.

    Edit: grammar

    • Ethan@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I’ve written programs in C. I’ve written programs in assembly, for x86 and for microcontrollers. I’ve designed digital logic and programmed it into an FPGA. I’ve built digital logic circuits with transistors.

      I’ll still take Go over C any day of the week. If I’m doing embedded, I’ll use TinyGo.

    • witx@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I wrote loads of firmware in c++ and some on highly constrained boards. You’re just stuck in the past and spewing bs

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      CPUs are for people who don’t know how to melt their own sand into transistors.

      Sand is for people who don’t know how to create their own silicon from hydrogen and a neutron emitter.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      This is a misconception that’s common among beginner C programmers. They think C is high level assembly and don’t understand the kinds of optimisations modern compilers make. And they think they’re hardcore and don’t make mistakes.

      Hope you figure it out eventually.