Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Angles Pin
Luc Pattyn11-Jun-11 15:49
sitebuilderLuc Pattyn11-Jun-11 15:49 
GeneralRe: Angles Pin
Cyclone_S11-Jun-11 16:28
Cyclone_S11-Jun-11 16:28 
AnswerRe: Angles Pin
Stefan_Lang31-May-11 22:51
Stefan_Lang31-May-11 22:51 
QuestionGarbage Collector vs Reference Couter Pin
Pranit Kothari31-May-11 4:53
Pranit Kothari31-May-11 4:53 
AnswerRe: Garbage Collector vs Reference Couter Pin
Chris Losinger31-May-11 4:58
professionalChris Losinger31-May-11 4:58 
AnswerRe: Garbage Collector vs Reference Couter Pin
Maximilien31-May-11 5:12
Maximilien31-May-11 5:12 
AnswerRe: Garbage Collector vs Reference Couter Pin
Nemanja Trifunovic31-May-11 6:08
Nemanja Trifunovic31-May-11 6:08 
AnswerRe: Garbage Collector vs Reference Couter Pin
Stefan_Lang1-Jun-11 0:08
Stefan_Lang1-Jun-11 0:08 
GC is a form of global memory management that keeps track of memory resources and returns freed memory at undefined intervals. For performance reasons, GC often does not immediately return freed memory, but instead just marks it as freed later.

RC is a method to locally ensure that an object is freed as soon as it isn't needed anymore. It determines this by keeping count of the references to the object that have been handed out.

In a way you coud consider RC as a very localized GC. Also, as has been pointed out, RC is often used to implement a GC and find out which memory blocks may be released.

GC has better overall performance, but may lead to heavier use of memory. Using only RC keeps the memory footprint at a minimum, but is somewhat slower.
QuestionDifference between Unicode and Multibyte Pin
Pranit Kothari31-May-11 4:16
Pranit Kothari31-May-11 4:16 
AnswerRe: Difference between Unicode and Multibyte Pin
Luc Pattyn31-May-11 5:06
sitebuilderLuc Pattyn31-May-11 5:06 
GeneralRe: Difference between Unicode and Multibyte Pin
Pranit Kothari31-May-11 6:45
Pranit Kothari31-May-11 6:45 
GeneralRe: Difference between Unicode and Multibyte Pin
David Crow31-May-11 8:14
David Crow31-May-11 8:14 
AnswerRe: Difference between Unicode and Multibyte Pin
Nemanja Trifunovic31-May-11 6:11
Nemanja Trifunovic31-May-11 6:11 
GeneralRe: Difference between Unicode and Multibyte Pin
Pranit Kothari31-May-11 6:44
Pranit Kothari31-May-11 6:44 
GeneralRe: Difference between Unicode and Multibyte Pin
Nemanja Trifunovic31-May-11 8:29
Nemanja Trifunovic31-May-11 8:29 
AnswerRe: Difference between Unicode and Multibyte Pin
Richard MacCutchan31-May-11 7:40
mveRichard MacCutchan31-May-11 7:40 
AnswerRe: Difference between Unicode and Multibyte Pin
jschell31-May-11 8:26
jschell31-May-11 8:26 
Question[Win32] How compare two image Pin
Member 296547131-May-11 4:03
Member 296547131-May-11 4:03 
AnswerRe: [Win32] How compare two image Pin
David Crow31-May-11 4:07
David Crow31-May-11 4:07 
GeneralRe: [Win32] How compare two image Pin
Member 296547131-May-11 5:31
Member 296547131-May-11 5:31 
QuestionGetting floppy drive in logical drives Pin
VCProgrammer30-May-11 22:51
VCProgrammer30-May-11 22:51 
AnswerRe: Getting floppy drive in logical drives Pin
ShilpiP31-May-11 0:39
ShilpiP31-May-11 0:39 
QuestionRe: Getting floppy drive in logical drives Pin
David Crow31-May-11 3:29
David Crow31-May-11 3:29 
Questionstack error in char array Pin
arupsarkar30-May-11 16:18
arupsarkar30-May-11 16:18 
AnswerRe: stack error in char array Pin
«_Superman_»30-May-11 18:43
professional«_Superman_»30-May-11 18:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.