Comparing shared_ptr to managed language references
<p>Could someone explain to a C++ programmer most important differences between Java (and C# as well) references and shared_ptr (from Boost or from C++0x).</p>

<p>I more or less aware how shared_ptr is implemented. I am curious about differences in the following ares:</p>

<p>1) Performance.
2) Cycling. shared_ptr can be cycled (A and B hold pointers to each other). Is cycling possible in Java?
3) Anything else?</p>

<p>Thank you.</p>
