I am looking for a real time garbage collector for Forth. If I cannot find one, I am considering building it, maybe using two Forth FPGA cores. One to run the application, the other to do the garbage collection. Maybe even doing it as a barrelprocessor.
I am curious to hear your collective expertise on this matter.
Warm regards
Christopher Lozinski
On Thursday, 8 June 2023 at 06:04:21 UTC+1, Christopher Lozinski wrote:
I am looking for a real time garbage collector for Forth. If I cannot fin= >d one, I am considering building it, maybe using two Forth FPGA cores. One = >to run the application, the other to do the garbage collection. Maybe even = >doing it as a barrel processor.=20
=20
I am curious to hear your collective expertise on this matter.=20
Warm regards=20
Christopher Lozinski
Can I point you to : http://www.complang.tuwien.ac.at/projects/forth.html >Anton has written a garbage collector.
Thank you hugely for the information.reference. So then duplicating a reference on the stack increases the reference count. Dropping a stack reference decreases the reference count.
I am no expert on reference counting, but here are my basic ideas.
1. Read the literature. All the ideas have been published, I have access to the databases through my university library.
2. Probably do a reference counting garbage collection, including references on the stack. How do I know if a stack item is a reference or not? Well the lisp machine patents talk about extra bits on stack items. If the flag is set, it is a
3. Many of the major garbage collectors use multiple approaches to catch circular references.most interested in many core forth processors.
4. it could be a separate process. It would be interesting would be to let a second processor do the actual counting, and garbage collection, so that the first processor is not slowed down. The two processors will need to talk to each other. I am
4. Probably start with the MicroCore, and modify it to suit this application. Good to be part of a community, and base it on a mature product.nice to be working on a project that someone was interested in using. It is okay to be doing something off of the main stream, but one should not be so far off that no one is interested.
Of course Forth is mainly used in the real time community where the idea of garbage collection is considered dangerous. On the other hand, it would seem like this is something that every developer would like to have, if possible. It would be very
I am looking for a real time garbage collector for Forth. If I cannot find one, I am considering building it, maybe using two Forth FPGA cores. One to run the application, the other to do the garbage collection. Maybe even doing it as a barrelprocessor.
I am looking for a real time garbage collector for Forth. If I cannot
find one, I am considering building it, maybe using two Forth FPGA
cores. One to run the application, the other to do the garbage
collection. Maybe even doing it as a barrel processor.
I am curious to hear your collective expertise on this matter.
Warm regards
Christopher Lozinski
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:21:34 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,091 |