Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Initializers, finalizers, and fallbacks
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Sugalski  
View profile  
 More options Apr 6 2004, 12:48 pm
Newsgroups: perl.perl6.internals
From: d...@sidhe.org (Dan Sugalski)
Date: Tue, 6 Apr 2004 11:51:33 -0400
Local: Tues, Apr 6 2004 11:51 am
Subject: Re: Initializers, finalizers, and fallbacks
At 10:29 PM -0800 4/1/04, chromatic wrote:

>On Wed, 2004-03-03 at 09:39, Dan Sugalski wrote:

>>  Okay, here's a sketch of where I'm going with the initialization,
>>  finalization, and fallback method locating. We need to do this
>>  because we're in the semi-unenviable position of supporting multiple
>>  languages that do this but that *don't* aggree on method names. So we
>>  can't depend on those.

>>  So, what we're going to do is introduce six properties:

>>      FALLBACK
>>      CONSTRUCT
>>      BUILD
>>      FINALIZE
>>      DELETE
>>      CLEANUP

>Suppose I have, for the sake of argument, a pointer to a struct that
>comes from an external C library.  In which method under this scheme
>would I tell that library to free the memory?

Should be FINALIZE.

As I look at that list I get a distinct "What the *hell* was I
thinking?" feeling, though. I'm trying to figure out what the point
of DELETE and CLEANUP were.
--
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
d...@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.