C++ already gives us a tool for pointer zapping
C++ already gives us a tool for pointer zapping
Posted Oct 17, 2024 23:58 UTC (Thu) by PaulMcKenney (✭ supporter ✭, #9624)In reply to: C++ already gives us a tool for pointer zapping by jrtc27
Parent article: Zapping pointers out of thin air
If you can say, what is the performance of the CAS(A)(L) instructions that handle both the address and the capability compared to those that handle only the address?
Posted Oct 18, 2024 0:41 UTC (Fri)
by jrtc27 (subscriber, #107748)
[Link] (1 responses)
Posted Oct 18, 2024 16:36 UTC (Fri)
by PaulMcKenney (✭ supporter ✭, #9624)
[Link]
With that performance issue mostly out of the way, one big remaining issue is the memory occupancy. Interesting tradeoff, the overhead of double-size pointers vs. the overhead of killer static analysis. ;-)
C++ already gives us a tool for pointer zapping
C++ already gives us a tool for pointer zapping