• 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • Mostly the missing listing of clobbered registers. Other than that it’s mostly just that you’re doing useless things, like manually putting the stuff into the registers instead of letting the compiler do it, and the useless push and pop. And the loop is obviously not needed and would hurt performance if you do every write like that.

    asm!(
    "syscall",
    in("rax") 1,
    in("rdi") 1,
    in("rsi") text_ptr,
    in("rdx") text_size,
    
    )
    

    (“so many” was inappropriate, sorry.)














  • Man made (aka human made) is obviously anything made by a human. So let’s rather talk about natural vs. artificial.

    Here, the concept probably boils to the idea that humans have a consciousness, and a free will, which are not part of nature, but something special. It’s kinda religious.

    But artificial could also have a more generic meaning of something extraneous doing things in an ecosystem, and changing it in completely new ways.

    It’s like in a game where the players are controlled by users. The users are not part of the game and can create things that would never come to existence by means of the game’s nature, i.e. via procedural world generation or NPC AIs. So e.g. villages in minecraft are natural, but user-built structures are artificial.

    Note though that goods produced by nature are not strictly better than artificially created goods. To name two examples: (1) Carrots harvested from a generated village in minecraft are no different from player-planted carrots. (2) Medicine is not better just because it’s extracted from plants.