Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak with Tcl implementation #278

Open
DasBrain opened this issue Sep 12, 2017 · 2 comments
Open

Memory leak with Tcl implementation #278

DasBrain opened this issue Sep 12, 2017 · 2 comments
Labels

Comments

@DasBrain
Copy link

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.

@dubek
Copy link
Collaborator

dubek commented Sep 12, 2017

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.

@DasBrain
Copy link
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.

@kanaka kanaka added the bug label Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants