Re: Characters - Guile Hacker Handbook

2020-10-15 Thread ZHUO Qingliang (KDr2)
That's great! Thanks for your work. Greetings. ZHUO Qingliang (KDr2, https://kdr2.com) On Tuesday, October 13, 2020, 03:01:38 AM GMT+8, Zelphir Kaltstahl wrote: Hello Jérémy! Keep up the good work : ) Regards, Zelphir On 10/12/20 11:40 AM, Jérémy Korwin-Zmijowski

Re: How does GC know what SCM objects are on the stack?

2020-01-28 Thread ZHUO Qingliang (KDr2)
potential reference in to the Scheme heap4. Any value that looks like a pointer to a GC-managed object is treated as such, whether it actually is a reference or not.  On Wednesday, January 29, 2020, 14:34, ZHUO Qingliang (KDr2) via General Guile related discussions wrote: I just read the docs

How does GC know what SCM objects are on the stack?

2020-01-28 Thread ZHUO Qingliang (KDr2)
I just read the docs about GC, if I understand it correctly, in a c program,  all static variables, global variable, and local variables that hold SCM objects are registered to GC protection automatically.  I want to know how does the GC make this, could anyone give me a clue? Many thanks.