Search Results
7/24/2025, 4:52:41 AM
>>106004789
Strong enforcement of local scoping, explicit reference passing, and a reference counter makes lifetime determination really obvious, with basically the same runtime behavior. In fact, you can take the reference semantics out, scope the lifetime with a pointer that lives statically on the stack, and treat it as a value by default. Bam, memory semantics not even necessary. And then you have Nim, which is a much better language for actually accomplishing things, with all the performance to boot.
Strong enforcement of local scoping, explicit reference passing, and a reference counter makes lifetime determination really obvious, with basically the same runtime behavior. In fact, you can take the reference semantics out, scope the lifetime with a pointer that lives statically on the stack, and treat it as a value by default. Bam, memory semantics not even necessary. And then you have Nim, which is a much better language for actually accomplishing things, with all the performance to boot.
Page 1