• Magister@lemmy.world
    link
    fedilink
    arrow-up
    47
    ·
    10 days ago

    Linux is C only, ever read the rant by Linus last century about C++ ? I was there, in usenet

  • z3rOR0ne@lemmy.ml
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    10 days ago

    Girl, I will wear whatever socks you want, but… pulls out my own gun. We’re reading this damn book instead.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      10 days ago

      Here’s what we’re gonna do. We’re going to do the equivalent of x11 application network transparency but with wayland.

      Kind of like streaming a desktop with sunshine, but on an app by app basis.

      Also we’re gonna make a client that work for it on android, windows and in a browser.

      Then I’m going to fuck you in the ass

  • affiliate@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    10 days ago

    please don’t make me read another bjarne book. the last time i read one it made me want to stop programming

  • UnhingedFridge@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 days ago

    Am I going too hard by making shortcuts to start and stop SSH on my steamdeck desktop for easier file transfer? Feels like a basic security step when connecting to other networks, while not wanting to remember the commands to enable, also wanting to avoid keeping the perms permanently open for the sake of unknown backdoors. Even added windows stating if it was started or stopped in the case of extra sauce or herb.

    Ayy girl, we’re going over and beyond with your network security, because we all do a fucky wucky from time to time.

  • kekmacska@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 days ago

    for command line apps bash, python, perl, ruby and similiar high level languages are more than enough. You can write some Kali Lincox the louder you are the less you hear network probe stuff with any of these, or even a storage optimizer (BleachBit is almost entirely written in Python, which is a very highly abstracted language implemented from C) Rust and C are only needed for performance-crtitical stuff (like rythm games) or/and directly interacting with hardware (drivers, firmware, system functions)

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      I would not throw Rust and C together in this.
      Rust is low-level in terms of being usable for kernel and embedded development (due to not needing a runtime), but it’s rather high-level in terms of the syntax offering lots of abstraction from the weirdness of the hardware.

      Some of that not-needing-a-runtime does bleed into the syntax, but in my opinion, it’s still higher level from a syntax perspective than Bash et al, because it brings in many functional aspects.

      I guess, I’m also just bothered by you saying, you don’t ‘need’ Rust for writing CLIs, when it’s my favorite language for this.
      To some degree, I do just find it ridiculous to launch a whole runtime when the user just wants the --help, but the argument parsing in Rust is also just really nice: https://rust-cli.github.io/book/tutorial/cli-args.html#parsing-cli-arguments-with-clap