Recommended Answers
Jump to PostDefinitely when the target system has a C++ compiler but no Java support.
Jump to PostBut now that C++11 has some nice shared pointers and associated gubbins, you've got the choice in C++.
Jump to PostI've always considered Java to be C++ with training wheels, garbage collection notwithstanding. As a matter of fact, Java's garbage collection (gc) is a major contributor to performance issues for Java applications that are long-running and serious resource users. I wrote a reference-counting gc for C++ back in the 1990's …
Jump to PostSmart pointers are fine, but unless they are combined with reference-counting life-cycle management, are of limited use. I'm not that familiar with C++11's shared pointers, so it looks like I have some additional research to do. :-)
Yeah, you probably should. ;) Shared-pointers (
shared_ptr
/weak_ptr
) are surprisingly …
All 15 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.