[Haskell-cafe] Re: FPS: Finalizers not running (was Memoryusageoutside of the Haskell heap)

Bulat Ziganshin bulatz at HotPOP.com
Mon Nov 7 09:02:14 EST 2005


Hello Simon,

Monday, November 07, 2005, 4:16:54 PM, you wrote:

SM> Yes, mallocForeignPtr's are implemented using pinned GC'd memory, with
SM> no finalizer (unless you add one).  That's why they're nice and fast.

Simon, can you please write some docs about all these foreign stuff
and their interaction with pure Haskell code? i see some bits of this
information in these newsgroups regularly (for example, are you
remember discussion about using lots of hashtables in program?), but
there is no definitive source

there is no need to write full-fledged doc right now, just
"implementation notes" as the list of peculiarities will be great for
the start



-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list