Sky-Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Albin Jose@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago

Think about it

suppo.fi

message-square
23
fedilink
-38

Think about it

suppo.fi

Albin Jose@suppo.fi to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
23
fedilink
alert-triangle
You must log in or register to comment.
  • minauteur@infosec.pub
    link
    fedilink
    English
    arrow-up
    79
    arrow-down
    1
    ·
    2 years ago

    This might qualify as humor if you don’t know much at all about programming.

    • Jumuta@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I used to wonder how the first computers were coded without computers in primary school

      • hperrin@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        For anyone else who wonders: by manually wiring in the circuits and flipping switches.

        https://en.wikipedia.org/wiki/Plugboard#Early_computers

  • olsonexi@lemmy.wtf
    link
    fedilink
    arrow-up
    62
    ·
    2 years ago

    first they had machine code
    then they wrote the assembler in machine code
    then they rewrote the assembler in assembly
    and assembled it with the machine code assembler
    then they wrote the C compiler in assembly
    and assembled it with the assembly assembler
    then they rewrote the C compiler in C
    and compiled it with the assembly C compiler
    then they had the C compiler
    and everything else was written in C

    (note: this is a massive oversimplification and ignores much of the history of programming languages, but it at least gets across the idea of how bootstrapping is done)

    • hperrin@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      And then we fucked it all up by writing the JavaScript interpreter.

      • SatyrSack@lemmy.one
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        Blame the Brave CEO

    • SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      Indeed. And the machine code is created as part of the physical CPU design.

    • Malgas@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      Also the first version of a new compiler (the one written in another language) is often skeletal, implementing only the features necessary to compile the full version (written in its own language), which is then immediately used to recompile itself.

  • The_Hideous_Orgalorg@sh.itjust.works
    link
    fedilink
    arrow-up
    27
    ·
    2 years ago

    It’s programming languages all the way down.

  • ch00f@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    2 years ago

    Assembly. Each command literally translates to a binary number that the processor will interpret to perform certain functions.

    • alokir@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      Or bytecode that the runtime will interpret

  • datendefekt@lemmy.ml
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    2 years ago

    You might want to put down that bong.

  • Dandroid@dandroid.app
    link
    fedilink
    arrow-up
    13
    ·
    2 years ago

    I mean, it’s not like this is some thought-provoking concept that no one has thought of before. For my SE degree I took 3 classes that focused heavily on the subject. We even wrote an interpreter for our very own programming language in one of them. And that was just part of the standard curriculum.

  • Baut [she/her] auf.@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    10
    ·
    2 years ago

    https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-building-from-source-all-the-way-down/
    Is a very interesting read on that topic. It’s about how to get to “full” compilers without using already existing “full” compilers.

  • DigitalPaperTrail@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    2 years ago

    it’s gatekeeping all the way down

  • Luvon@beehaw.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    Bootstraps

  • Flexaris@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    How did they know the first ruler was correct if they didn’t have a ruler to verify it?

  • arisunz@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    blood, sweat, spit and sometimes a bunch of formal grammar

  • DarkenLM@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    With themselves!

  • shiveyarbles@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    From energon cubes

  • ssboomman@lemm.ee
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    That are almost always built by lower level programing languages

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.

  • 293 users / day
  • 693 users / week
  • 1.86K users / month
  • 10.7K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.71K Posts
  • 36.6K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org