Posts
115
Following
50
Followers
227
Time flies! This is tomorrow, Tuesday July 7th at 8AM Pacific Time. Should be fun!!!
0
0
2
@uecker You lost me on this one. The same pointer-zap solution as adopted by WG21? If so, I am reviewing N3226 (a working draft that led to TS 6010) to attempt to produce an initial proposal. I could present that here, but I suspect that Mastodon isn't the best communications medium for this sort of thing. So left to myself, I would post to the SC22WG14. But is there a better venue?
0
0
0
@uecker I apologize, but I really cannot resist suggesting that providing a way of cleanly supporting ABA-tolerant concurrent algorithms based on TS 6010 is a necessary (though probably not sufficient) step towards convincing WG21 of the value of this TS. ;-)
1
0
0
@uecker Here is hoping that in the case of C, starting with TS 6010 will make things easier and more clearly defined.
1
0
0
@uecker If it makes you feel any better, I do understand that a different approach to lifetime-end pointer zap will be required for the C language. Presumably something based on ISO/IEC TS 6010.
1
0
1
@uecker Define "clearly defined". ;-)

I would say "yes", but it is probably better to point you to this paper and let you decide: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2434r4.html

I would expect that this would not satisfy you, but perhaps the good news is that I expect that things will be more clear in the context of ISO/IEC TS 6010. It would still be the case that a pointer exposed concurrently with an access would use that pointer, though it might be possible to provide at least some limits on this.
1
0
0
@uecker If you are asking how this maps to the C-language ISO/IEC TS 6010, that is yet to be determined. I long ago resigned myself to different approaches for C++, C, and Rust.
1
0
0
Some good progress on lifetime-end pointer zap and out-of-thin-air values in C++29! https://people.kernel.org/paulmck/c-pointer-zap-and-oota-progress
1
2
5
@ljs @mairacanal Sort of like traffic. You should always drive politely, but most governments reserve the right to respond violently to people violating traffic laws in too dangerous a fashion.

Quick Quiz: In an open-source project, what comprises the government? ;-)
1
0
4
On July 7th, the inimitable Shuah Khan will be interviewing me on my life as a Linux-kernel developer and maintainer. And it is not just every day that this old man gets an invitation to reminisce! Kidding aside, it has been an exciting journey, and I hope to be able to share some of that excitement with you. ;-)



https://www.linuxfoundation.org/webinars/my-life-as-a-linux-kernel-developer-and-maintainer-with-paul-e.-mckenney?hsLang=en
2
8
19
@nixzhu @sundogplanets We just need heavy industry in orbit so that the potential and kinetic energy of those satellites can be recycled. ;-)
0
0
0
@jwseigh I suspect that the Rust folks will eventually end up with something similar. But who knows?
0
0
0
Bad things can happen if you leak pointers out of RCU read-side critical sections. What can you do about it?
https://people.kernel.org/paulmck/stupid-rcu-tricks-detecting-pointer-leaks
1
3
13
May the Fourth be with you!

And it is only fitting to celebrate Cinco de Mayo.

But beware...

For if you party too hearty, you may find yourself subject to the Revenge of the Sixth!
0
0
3
For those who have been asking for hardcopies of "Is Parallel Programming Hard, And, If So, What Can You Do About It?", I received my new hardcopy of the Second Edition. Enjoy!
0
1
7
@jwseigh I completely agree with your "depends on the data structure"!
0
0
0
@pkhuong Unless you object, I will add this to the blog. Something like "Paul Khuong reports that this technique was used in production for some time, until a more principled and sufficiently performant technique was put in its place."
0
0
1
@pkhuong Understood, and this is why I said "Choose wisely" rather than something like "Never ever do it this way". In your case, I am glad that you guys found something that worked for you.
1
0
1
@jwseigh But then aren't they automatically self-compacting? ;-)
0
0
0
Show older