Re:Apache Kafka – Publish-subscribe messaging rethought as a...
by pjmlp on Wednesday March 12, 2014 @02:13PM
(#7387249)
RAII semantics can be implemented in most GC languages nowadays with try/using/with/... Or with lambdas if the language allows for it.
RAII in C++ is a good pattern, but it does not avoid performance penalty of cascading release of resources, impossibility of using exceptions in destructors or thread contention with shared resources.
RAII in C++ is a good pattern, but it does not avoid performance penalty of cascading release of resources, impossibility of using exceptions in destructors or thread contention with shared resources.