[m-dev.] Tool for generating DU types in C

Paul Bone pbone at csse.unimelb.edu.au
Mon Mar 22 21:52:59 AEDT 2010


On Mon, Mar 22, 2010 at 06:14:58PM +1100, Ralph Becket wrote:
> Thanks for the feedback, Paul.  I think I will adopt your suggestions.
> 
> How do you feel about the tool producing a 'free_<type_name>()'
> function to handle the freeing semantics?

I think this would be fine.  I think you'll still want to let programmers know
that you've made the optimsation of not heap allocating these cells.  C
programmers like to know that sort of thing :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/developers/attachments/20100322/7b44724a/attachment.sig>


More information about the developers mailing list