Cairo.jl icon indicating copy to clipboard operation
Cairo.jl copied to clipboard

Completely rework pointer management.

Open lobingera opened this issue 5 years ago • 3 comments

Following the discussion in https://discourse.julialang.org/t/avoid-gc-freeing-ptr-nothing/38664/15 (yuyichao) recommends major changes.

(me wonders, why this went undetected for so long ...)

lobingera avatar May 05 '20 13:05 lobingera

I believe this is related to #252?

donm avatar Jul 31 '20 13:07 donm

No. It's (roughly) about how GC tracks if memory is still in use and Cairo.jl today uses some ideas about pointer management that (according to yuyichao) should have never worked (which they did surprisingly well for long time). I started and stopped working on this locally.

lobingera avatar Jul 31 '20 14:07 lobingera

You're definitely right. I can't even retrace my thoughts that made me think they were related, to the point that I think I copy/pasted the wrong issue number, or entered that message in the wrong issue.

Since I've already bothered you for no good reason, thanks for your work on Cairo.jl.

donm avatar Jul 31 '20 17:07 donm