Jump to content

  • Log In with Google      Sign In   
  • Create Account


Garbage Collector?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
22 replies to this topic

#21 BrokenKingpin   Members   -  Reputation: 210

Like
-1Likes
Like

Posted 11 October 2012 - 11:20 AM

Either use smart pointers, or use a language like C# or Java that has built in garbage collection. Bolting a GC into C++ just seems dumb... defeats the purpose of c++.
Do you folks like coffee?

Sponsor:

#22 ATC   Members   -  Reputation: 551

Like
0Likes
Like

Posted 11 October 2012 - 05:38 PM

Edit:
@ATC: Damn! Ninja'd! I should have read the whole thread.


I must've missed something; not sure what you mean! Explain? XD

In the rest of your post though, I'm assuming these are the Boost libraries you're talking about? I don't know much about Boost but this was a very interesting and informative post.
_______________________________________________________________________________
CEO & Lead Developer at ATCWARE™
"Project X-1"; a 100% managed, platform-agnostic game & simulation engine


Please visit our new forums and help us test them and break the ice!
___________________________________________________________________________________

#23 Kyall   Members   -  Reputation: 287

Like
0Likes
Like

Posted 11 October 2012 - 05:59 PM


Edit:
@ATC: Damn! Ninja'd! I should have read the whole thread.


I must've missed something; not sure what you mean! Explain? XD

In the rest of your post though, I'm assuming these are the Boost libraries you're talking about? I don't know much about Boost but this was a very interesting and informative post.


You described the reference counting ( shared_ptr ) & then using some form of memory heap solution. I'd use static memory for short lived things, but not a heap allocation thing like that. Code that should crash shouldn't not crash; which is the problem I have with same static heaping and custom heap manager things.

Not boost, TR1, so technically boost. Since boost became the TR1 extensions library. The difference is that TR1 is part of the cx11 standard, and boost is something people keep referencing as a solution to some one's problem when it doesn't actually apply to the person's problem.
I say Code! You say Build! Code! Build! Code! Build! Can I get a woop-woop? Woop! Woop!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS