Hello, I’m a bit new to advanced linux and programming stuffs… Can someone explain me why compiling exists and what this process does and how to do it in the principals situations (I’ve heard that you can use the “makepkg” command). Thx to everyone who replied.

  • TimeSquirrel@kbin.social
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    2 months ago

    Human readable code:

    // do stuff 100 times
    for (int x = 0; x < 100; x++) {
    do.stuff();
    }

    After compiling might look like:

    1011 1100 1011 1011 and so on and so forth, which corresponds directly to cells in a memory chip being switched on or off, which are the instructions that get fed to your CPU to do everything your program does in the machine.