←back to thread

169 points signa11 | 5 comments | | HN request time: 0.67s | source
1. acbits ◴[] No.41876106[source]
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.

replies(3): >>41876354 #>>41880485 #>>41889244 #
2. brenns10 ◴[] No.41876354[source]
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.
replies(1): >>41876996 #
3. acbits ◴[] No.41876996[source]
I will send it again. It probably got lost in the high traffic volume of LKML last year.
4. pornel ◴[] No.41880485[source]
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.
5. glouwbug ◴[] No.41889244[source]
I love high quality C++ that reads like C but doesn’t throw away the STL or litter everything with const