Yes, safety was the initial motivation. The advantage is that you free once and the semantics are more stack like. The performance is an additional benefit.<p>It is entirely possible to have no bugs in the &lt;100 lines needed for this code, so I don&#x27;t think the bug argument is valid. adrusi did raise a legitimate concern however.