• CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    15 hours ago

    An actual compsci professor would know real CPUs don’t run arbitrary recursion, right? Nobody could possibly be that siloed.

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      Could someone expand a little on this statement, or point me toward an applicable resource? How do “real” (modern?) CPUs prevent unwanted recursion? As in, not the compiler or the OS, but the CPU itself? I’ve been searching for a while now but I haven’t found anything that clears this up for me.