lemmy.mlaga97.space
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

STOP WRITING C

lemmy.world

message-square
98
fedilink
0

STOP WRITING C

lemmy.world

Maven (famous)@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
98
fedilink
alert-triangle
You must log in or register to comment.
  • pinkdrunkenelephants@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Primitive, provincial knuckledragging Americans/Brits/Right-wing country’s citizens don’t want to learn C or understand how their computer truly works. 😆

    Yeah. That tracks

  • تحريرها كلها ممكن@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    C is okay with good tooling. I wish it was possible to mix C and Rust code in the same project. I could be wrong but last I looked C code will have to sit outside in a library or something and called externally from Rust.

  • THCDenton@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    C is fun. Thats why I use it :P

    • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      The same way juggling chainsaws is fun I suppose. :)

  • YTG123@feddit.ch
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Look up function pointer types to make this language seem even more insane

  • Lunya \ she/it@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Does anyone even know what Windows is written in?

    • entropicdrift@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Originally Windows was written in assembly and ran on top of DOS, but since Windows 2000 and XP, it’s been exclusively running on the NT kernel, which is written primarily in C, with some C++ in there as well.

      The actual userspace is mostly C++ and C#.

      • astrsk@kbin.social
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        And basically the entirety of dotnet 6 forward is spans. It’s all spans. All the way down.

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Microsoft is quickly writing more and more Rust code these days. They rolled out Rust kernel components even before Linux, and their efforts actually include rewrites rather than making the API available to developers.

        There’s decades of code in Windows, but the successful conversion for DirectWrite font parsing is probably a sign of things to come. MS seems to even be porting some COM modules to Rust, which would be the last thing I would start to port (so many pointer pointers!).

        • entropicdrift@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          True! Their embrace of Rust is certainly heartening to see.

          Let’s just hope they don’t follow it up with the other two E’s in their typical playbook.

          • masterspace@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year ago

            Please do go ahead and name the last open standard that Microsoft intentionally destroyed.

            EEE is the fucking boogeyman on Lemmy. You just mention it’s name and a bunch of nerds shit their pants and upvote.

            • Hadriscus@lemm.ee
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              I did upvote… but my pants are pristine

            • <optimized out> :v_trans: :v_bi:@social.lizzy.rs
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              @masterspace @entropicdrift https://en.m.wikipedia.org/wiki/Embrace,_extend,_and_extinguish#Examples_by_Microsoft

              • Jordan_U@lemmy.ml
                link
                fedilink
                arrow-up
                0
                ·
                1 year ago

                Unless I’m missing something, the most recent example there is from 2002 which, to my own horror, was more than 20 years ago.

            • entropicdrift@lemmy.sdf.org
              link
              fedilink
              arrow-up
              0
              ·
              1 year ago

              Atom died about 13 months ago.

              Just because they’re in a relative lull in the desktop space doesn’t mean they’ve stopped.

              • QuaternionsRock@lemmy.world
                cake
                link
                fedilink
                arrow-up
                0
                ·
                1 year ago

                There may be good examples out there, but I’d argue Atom isn’t one of them. VS Code was clearly intended to be a spiritual successor with MS branding IMO, it is a fork of Atom, and it is equally open source (MIT license).

              • masterspace@lemmy.ca
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                1 year ago

                Atom usage dropped off dramatically in favour of VS Code or the fully open source VS Codium, there’s no point in Github writing it’s own code editor when it’s hosting a much more popular, more powerful, and equally open source editor in one of its repos.

                • entropicdrift@lemmy.sdf.org
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  1 year ago

                  Github had been funding development of Atom until MS bought them, put Atom on maintenance mode for 4 years, then killed it.

    • cypherix93@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      witchcraft

      • Lunya \ she/it@iusearchlinux.fyi
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Makes sense

        • getoffthedrugsdude@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          C or C++ usually

      • lseif@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        yeah but which craft?

    • Midnight Wolf@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Well, you know those claims that Java runs on 18 trillion devices? How do you think they got there, hmmmmm?

      • Skull giver@popplesburger.hilciferous.nl
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Windows actually came with a Java runtime for a short while. Then Microsoft got sued, the Java VM was killed, and C# was created (which looks, feels, and behaves very similar to Java) as an alternative.

        Just imagine what would’ve happened if Microsoft and Sun worked together. Java would be in everything on Windows now, not just as a basis for modded Minecraft.

  • NocturnalMorning@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    C is meant for embedded stuff. #changemymind

    • davel@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      System programming

      • Venator@lemmy.nz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Ease of access to the underlying hardware in your programming language is only ever needed for embedded programming in the current year. Change my mind.

        • davel@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          1 year ago

          Every operating system running on bare metal needs access to the hardware. And if not on bare metal, it needs access to the virtual hardware.

  • JohnnyCanuck@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    What language was that jpeg compression written in?

    • VieuxQueb@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      You ever heard of lossless compression? Well they developed lossfull anti compression, it compresses and decompresses the images so many times that the added artifacts create a larger file than original ! Impressive ain’t it?

      • lseif@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        we do live in the future

        • Gilles_D@feddit.de
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Impressive

      • Hadriscus@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        and the Nobel goes to some nerd playing with electrons. Unbelievable

    • billwashere@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Potato

      • jaybone@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        YOU WERE NEVER MEANT TO ACCESS STARCH DIRECTLY

    • MonkderZweite@feddit.ch
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=jpeg

  • milicent_bystandr@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    “Somewhere, someone whispers…”

  • slembcke@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I enjoy the selection bias in the comments for these sorts of posts. >_< There’s a few people saying “I kinda like C”, a few saying “use Python instead”, and a whole lot saying “Rust is my lord and savior”. Completely disjoint from the real world usage of the languages for whatever practical, pragmatic, or ideological measures they are used for.

    • hangukdise@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      This is why the post and the thread are so funny (assuming people are being intentionally funny)

  • Massahud@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Search for leak in sudo’s changelog: https://www.sudo.ws/releases/changelog/

    • Jordan_U@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Leaks aren’t usually security critical though, and I’ve never heard of sudo triggering the OOM killer.

      Also, no general purpose language that I’m aware of can guarantee a lack of memory leaks.

      • simple@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        no general purposd language can guarantee a lack of memory leaks

        You’re going to summon every Rust enthusiast on the platform

      • kevincox@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Especially since sudo is generally quite short lived. Unless it is leaking a significant amount of memory waiting for authentication that never comes it is insignificant. It would actually be pretty easy to argue that sudo just shouldn’t free memory at all. This would be better for security (all pointers live forever) and possibly faster as upon exec the kernel can just wipe all state rather than having free carefully account for the releases.

  • SuperKoel@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    my controller may be old, but i only pay 20 thousands eurodogs for a board support pckage ,per user per ip per nation per year. I dont even pay for their eclipse ide! C is the laand of free fuck yeah! My debug partner is compatible with only 200 euro per flexcable. Don`t tell em my debrugs parnter is not oem spec🐵.

  • Buttons@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I feel like such a fool

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    w… windows 10?

    • Midnight Wolf@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      W10: :(

    • pewpew@feddit.it
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I think I saw online that Windows was written in C++

      • Pxtl@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        C++, but a very ugly and oldschool dialect of it.

        • Midnight Wolf@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Yes, you already said C++, no need to repeat yourself :P

        • pewpew@feddit.it
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          1 year ago

          Well… I love C, just the semplicity of the syntax and low level aspect of it makes it the only language you need. F*ck high level languages

          • Pxtl@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year ago

            C is simple in the same way that a circular saw with no safety features is simple. I like having fingers better.

          • ☆ Yσɠƚԋσʂ ☆@lemmy.ml
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            low level aspect of it makes it the only language you need

            about that https://queue.acm.org/detail.cfm?id=3212479

  • mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Yesterday I tried using an honest-to-god pointer pointer pointer, and I think the compiler refused on moral grounds.

    • 31337@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Ah, a three star programmer.

  • EmergMemeHologram@startrek.website
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    But I like C, it’s like a smaller Golang

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 7 users / day
  • 85 users / week
  • 355 users / month
  • 1.49K users / 6 months
  • 0 local subscribers
  • 37K subscribers
  • 1.58K Posts
  • 22.1K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org