You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
jlox gets away with not implementing a GC because it relies on the one from the JVM.
We use ref-counted values which give us almost the behaviour we want except from when there are cycles in the dependency graph. In such cases we're going to leak memory :(
The bytecode-VM implementation will have a GC so it might be a good idea to make it general enough so that it can be ported back to the treewalk interpreter.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
jlox
gets away with not implementing a GC because it relies on the one from the JVM.We use ref-counted values which give us almost the behaviour we want except from when there are cycles in the dependency graph. In such cases we're going to leak memory :(
The bytecode-VM implementation will have a GC so it might be a good idea to make it general enough so that it can be ported back to the treewalk interpreter.
The text was updated successfully, but these errors were encountered: