GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Raul Portales (sh41@androiddev.social)'s status on Monday, 25-Sep-2023 10:16:55 JST Raul Portales Raul Portales

    TIL you can exhaust the call stack of an #MSX by not returning from a subroutine and using goto instead... or by using RETURN <line number> where that number is not on the body of the calling block.

    Something that is basically impossible to do work modern languages.

    I also learned that such stack is about 84 levels deep

    In conversation Monday, 25-Sep-2023 10:16:55 JST from androiddev.social permalink
    • clacke likes this.
    • Embed this notice
      nytpu (nytpu@tilde.zone)'s status on Monday, 25-Sep-2023 10:16:57 JST nytpu nytpu
      in reply to

      @Sh41 Wait, I understand GOTO not cleaning up the return stack, but RETURN <lineno> doesn't work like tail call optimization where it pops off the return address but then jumps to the start of a different routine? A weird choice, why even allow giving a line number to a RETURN statement in the first place then?

      In conversation Monday, 25-Sep-2023 10:16:57 JST permalink
      clacke likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.