Stupid Smart Pointers in C 1 year ago
https://github.com/acbits/reftrack-plugin
Hey, I wrote this GCC plugin to automate reference counting in C. Any bug reports welcome.
HN user
https://github.com/acbits/reftrack-plugin
Hey, I wrote this GCC plugin to automate reference counting in C. Any bug reports welcome.
https://github.com/acbits/reftrack-plugin
I wrote a compiler extension just for this issue since there wasn't any.
I will send it again. It probably got lost in the high traffic volume of LKML last year.
https://github.com/acbits/reftrack-plugin
I wrote this GCC plugin for this exact reason. Let's see whether the kernel team is interested in adopting it.
Author here. The project started as a way to tag reference counters inside C structures, but ended up being generic enough to roll your own GC.