What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Good programming language..

Good programming language..
Author: Message:
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Good programming language..
quote:
Originally posted by Verte
That's what they should do. But, if you use pointers anywhere, you've got to be very careful with GC. For example, if you pass a pointer variable to a subroutine, and the subroutine uses a temp variable to represent that variable inside, assigns a new object on the heap to the temp variable, and then the temp variable goes out of scope, most GCs will free the object. In cases such as these, you've got to increment the reference counter by hand, which is to say that you're essentially doing manual garbage collection anyway. This is because Garbage collection typically only tracks direct assignments, and where one variable may reference an object indirectly [such as through an array of pointers or references] the GC will not count the [second-order] reference.

IMO, you know when you're done with data, you deal with it.

thats why GC languages don't use pointers, they use references :p
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
06-27-2007 09:39 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Good programming language.. - by Jhrono on 06-27-2007 at 12:03 AM
RE: Good programming language.. - by Knucks on 06-27-2007 at 12:11 AM
RE: Good programming language.. - by Jhrono on 06-27-2007 at 12:13 AM
RE: Good programming language.. - by TheSteve on 06-27-2007 at 12:17 AM
RE: Good programming language.. - by Jhrono on 06-27-2007 at 12:19 AM
RE: Good programming language.. - by albert on 06-27-2007 at 01:14 AM
RE: Good programming language.. - by Jhrono on 06-27-2007 at 01:22 AM
RE: Good programming language.. - by albert on 06-27-2007 at 01:34 AM
RE: RE: Good programming language.. - by Verte on 06-27-2007 at 08:59 AM
RE: Good programming language.. - by lopardo on 06-27-2007 at 02:38 AM
RE: Good programming language.. - by NanaFreak on 06-27-2007 at 03:28 AM
RE: Good programming language.. - by foaly on 06-27-2007 at 08:12 AM
RE: Good programming language.. - by ShawnZ on 06-27-2007 at 09:06 AM
RE: RE: Good programming language.. - by Verte on 06-27-2007 at 09:33 AM
RE: Good programming language.. - by ShawnZ on 06-27-2007 at 09:39 AM
RE: RE: Good programming language.. - by Verte on 06-27-2007 at 10:17 AM
RE: Good programming language.. - by Jarrod on 06-27-2007 at 09:41 AM
RE: RE: RE: Good programming language.. - by TheSteve on 06-27-2007 at 11:05 AM
RE: RE: RE: RE: Good programming language.. - by Verte on 06-27-2007 at 12:01 PM
RE: Good programming language.. - by Jhrono on 06-27-2007 at 03:08 PM
RE: Good programming language.. - by markee on 06-28-2007 at 09:59 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On