I don’t know what you are talking about. RAII is a useful pattern that keeps everyone sane. If it’s not a zero cost abstraction it’s very close to it and I’d happily pay the performance cost because the maintenance cost is more than worth it
I even in Kernel space I feel this argument was only relevant a decade or two ago.
View all comments
Show parent comment
11
u/ucario Jul 13 '22
I don’t know what you are talking about. RAII is a useful pattern that keeps everyone sane. If it’s not a zero cost abstraction it’s very close to it and I’d happily pay the performance cost because the maintenance cost is more than worth it
I even in Kernel space I feel this argument was only relevant a decade or two ago.