TEB's Blog


  1. Pictures of European sea rocket

    -
    I was walking around the beaches of Mallorca where I found some european sea rocket. Or at least I think it is, the shape of the leaves doesn’t match entirely, but I’m not a plant expert. In total I found three plants. At some parts of the plants all of the leaves appeared to be gone, leaving only the nubs. I thought that was quite curious. Consider these licensed under CC4.0-BY. Enjoy.
  2. On stack growth direction

    -
    I was working on a project, and found myself in need of a virtual stack. Now most cpu’s grow the stack downwards, which means that pushing to the stack decrements the stack pointer. But why do they do so? And would growing it upwards have any advantages? From what I can tell, there isn’t actually any clear and concise answer. Many attribute it to sheer convention, but there are some minor differences. I thought I’d write a summary of what I found, to congregate the information on this topic.