TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"W. Wesley Groleau x4923" <[log in to unmask]>
Reply To:
W. Wesley Groleau x4923
Date:
Thu, 1 Oct 1998 15:20:39 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (13 lines)
> In this particular version of aliasing, using pointers, you can
> you can have a name that outlives the storage allocation for the
> variable.  This is a problem.  It's a common cause, in C, of
> hard-to-trace weird behavior and "segmentation fault - core dumped"
> failures.

For Java, this is theoretically not quite true.  There is no explicit
deallocation.  If it works like it's supposed to, the item remains
allocated until the garbage collector determines that there are no
remaining references.

(But I still like Ada better.)

ATOM RSS1 RSS2