Memory leak with Tcl implementation · Issue #278 · kanaka/mal · GitHub
Skip to content

Memory leak with Tcl implementation #278

Open

Description

@DasBrain

The Tcl implementation uses TclOO objects to represent mal objects. Unlike other languages, Tcl does not have a garbage collector. Objects have to be destroyed by the programmer.

Activity

  1. dubek commented on Sep 12, 2017

    @dubek
    Collaborator

    I wrote the TCL impl - and indeed I mentioned this problem in the first pull request #106 ... You're welcome to try to solve it (implement GC / reference counting yourself) - it is a challenge.

  2. DasBrain commented on Sep 12, 2017

    @DasBrain
    Author

    I will try, but I will use a dicts as objects. They are immutable, so modification of them will be hard.

    Also, I don't understand why you use apply at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions