On Saturday, 25 May 2013 at 05:52:23 UTC, Manu wrote:
But it would be deterministic, and if the allocations are few, the cost
should be negligible.


You'll pay a tax on pointer write, not on allocations ! It won't be negligible !

They're still non-deterministic though. And unless (even if?) they're
precise, they might leak.


Not if they are precise. But this is another topic.

What does ObjC do? It seems to work okay on embedded hardware (although not
particularly memory-constrained hardware).
Didn't ObjC recently reject GC in favour of refcounting?

ObjC is an horrible three headed monster in that regard, and I don't think this is the way to go.

Reply via email to