Hacker News new | ask | show | jobs
by acbits 610 days ago
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.

3 comments

I searched lore.kernel.org and couldn't find any postings that propose using this in the kernel. I'd encourage you to share a proposal, otherwise the "kernel team" will never be interested, because they'll never hear of it.
I will send it again. It probably got lost in the high traffic volume of LKML last year.
That's cool, but it'd be nice to also have a distinction between a get and a copy (like ObjC) or borrow/move (like Rust) to avoid redundant increments and decrements.
I love high quality C++ that reads like C but doesn’t throw away the STL or litter everything with const