The following Zen program albeit being simple leaves hundreds of garbage when executed on the virtual machine.
function main(...arguments)
for var i in range(0, 10000):
print(i)
This problem can be solved by integrating a garbage collector. Although Zen does not currently support multithreading, in the future it certainly will. Therefore, the garabage collector should acknowledge multithreading. The Eclipse OMR implements a variety of garbage collection algorithms with multithreading support.
The following Zen program albeit being simple leaves hundreds of garbage when executed on the virtual machine.
This problem can be solved by integrating a garbage collector. Although Zen does not currently support multithreading, in the future it certainly will. Therefore, the garabage collector should acknowledge multithreading. The Eclipse OMR implements a variety of garbage collection algorithms with multithreading support.