Anonymous
10/17/2025, 8:04:48 PM
No.106920996
>>106920960
>Linear types and sum types are literally zero cost.
>RAII isn't.
False. RAII itself does not inherently have a runtime cost. The runtime cost comes from the resource management operations performed within the constructor and destructor of the RAII class.
>Linear types and sum types are literally zero cost.
>RAII isn't.
False. RAII itself does not inherently have a runtime cost. The runtime cost comes from the resource management operations performed within the constructor and destructor of the RAII class.