> It sounds like all you're proposing is using the stack for dynamic
> allocation instead of the heap, then adding a compacting garbage
> collector.  It's easier to just use the heap and make sure you don't
> leak memory. It's not that hard.
>

Yes. This is true that I want to use stack for dynamic memory allocation
but I do not want a garbage collector. Garbage collection should happen
though RAII.

-- 
Best regards,
Shiv Shankar Dayal

Reply via email to