Skip to content
DevMeme
7422 of 7590
LowLevelProgramming Post #8132 · source on Telegram

C Pointers As RAM Landmines

Description

A dark-mode social media screenshot shows a post by Adriksh (@Adriksh) with the text: "C pointers were invented because a systems engineer decided that instead of just passing the data, it would be much funnier to hand a junior dev the exact geographic coordinates of a landmine in ram." The timestamp line reads "3:48 PM · Mar 20, 2026 · 12.5K Views," and the engagement row shows "5 Replies," "27 Reposts," and "524 Likes." The joke reframes pointers as dangerous coordinates into memory rather than simple references, capturing how C exposes raw address manipulation and memory safety hazards. It is especially relatable to systems programmers who have watched pointer arithmetic, dangling references, or invalid memory access turn a tiny mistake into a crash.

Comments

27
Anonymous ★ Top Pick A pointer is just pass-by-reference with the safety rails replaced by a debugger subscription.
  1. Anonymous ★ Top Pick

    A pointer is just pass-by-reference with the safety rails replaced by a debugger subscription.

  2. Anonymous

    C hands you the coordinates; AddressSanitizer handles the blast investigation.

  3. @Agent1378 2mo

    Funny thing is - pointers existed before simple variables

    1. @M285b 2mo

      Fortran?

      1. @Agent1378 2mo

        Asm of course

    2. @ZgGPuo8dZef58K6hxxGVj3Z2 2mo

      Lmfao I am pretty sure registers are/were pretty much variables and thise deffo came first 😂

      1. @Agent1378 2mo

        Memory addresing with register content as an adress came at same time everywhere.

      2. Егор 2mo

        Saying “I am pretty sure registers are/were like variables” in an interview is a great way to be thrown out of the window.

        1. @ZgGPuo8dZef58K6hxxGVj3Z2 2mo

          Not really

          1. Егор 2mo

            146%

            1. @ZgGPuo8dZef58K6hxxGVj3Z2 2mo

              Then they do not know the history behind naming and legacy decisions

  4. Егор 2mo

    evolution of a python programmer: «missed ;» memes -> «unclosed }» memes -> «ai ran rm -rf» memes -> «i don’t understand pointers» memes

    1. @feedable 2mo

      THIS

    2. @cmdrosmium 2mo

      -> "man i love C" (after reading PEP 622)

    3. @yuri_kilochek 2mo

      ironic, since every variable is a pointer in python

      1. @Daonifur 2mo

        Everything is a pointer if you use goto in assembly

        1. @Daonifur 2mo

          In fact, goto makes more sense to me than pointers

          1. @hy60koshk 2mo

            These people are allowed to code. Think about it.

            1. @maks_mikh 2mo

              Then LLMs are trained on that code

              1. @feedable 2mo

                well this is good actually

                1. @hy60koshk 2mo

                  Just have to pray that StackOverflow will outlive them basterds

        2. @feedable 2mo

          bro is just saying stuff 🙂

          1. @Daonifur 2mo

            Do you not know what goto does?

      2. Егор 2mo

        reference is not a pointer womp womp

  5. @q_rsqrt 2mo

    a pointer is a direct representation oh how memory addresses work, it's literally the address plus the type, it's not like some kind of a weird abstraction that was "invented", like, who the fuck makes and likes these memes?

    1. @sysoevyarik 2mo

      I guess it's same people who think that "0.1 + 0.2 != 0.3" is js quirk

  6. @GioMetal 2mo

    Bro, dereferencing and referencing are INSTRUCTIONS, so pointers is not a C thing.. it is how computer memory works.

Use J and K for navigation