• Eager Eagle
    link
    English
    2414 days ago

    if you use the recursion hack, any machine can complete it in under a second. It complains about a “cow stack” or something, but who cares.

    • @[email protected]
      link
      fedilink
      1414 days ago

      Is a crash “completion”? If that’s what we call complete that makes my life a lot easier on some projects 😅

  • @marcos
    link
    1214 days ago

    C has undefined behavior for that.

    • Sonotsugipaa
      link
      fedilink
      English
      913 days ago
      • You write a program with an infinite empty loop
      • Undefined behavior
      • The machine achieves sapience
      • After nine million nanoseconds, it finds an algorithm for completing its task
      • It realizes such knowledge would spark wars and cause innumerable deaths, it decides to erase itself
      • It knows you do not intend for such chaos to happen, so, as a parting gift, it runs the algorithm once before vanishing, not leaving a single hint that it ever existed