[zeromq-dev] How to do "free()" in a non-c environment ?

Laurent Alebarde l.alebarde at free.fr
Mon Aug 19 09:43:23 CEST 2013


C needs "free" and requires all the memory management to be performed 
under the sole responsability of the programmer.  Other languages 
usually have a garbage collector, and you don't need to take care of it. 
Smalltalk is such a language (ref 
<http://www.gnu.org/software/smalltalk/manual/html_node/GC.html>).


Le 19/08/2013 08:52, itlists at schrievkrom.de a écrit :
> Hello,
>
> I managed to get a CZMQ dll under windows. That fine so far. Actually I
> am not doing "C", but bind it to a smalltalk dialect. Now the problem
> when using (for example): zstr_recv().
>
> It is said that the caller must free the receiving string, but how is
> this done, when you only have a high-level binding and no "free()"
> function to call.
>
> Should czmq offer a free-helper function to make this possible ?
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130819/2d5c7974/attachment.htm>


More information about the zeromq-dev mailing list