From: Joe Swatosh Date: 2007-12-13T15:57:54+09:00 Subject: Re: [Spam] Re: What's the status of compiler/compiling on windows? On Dec 12, 2007 1:55 PM, Austin Ziegler wrote: > > And the *reason* it's not a theoretical scenario is that Unix doesn't > have this problem (multiple runtimes) in > 99% of cases. Most Unixes > only have one runtime installed and cannot actually have another > runtime installed. Therefore, there's not multiple heaps involved. > Therefore, it's a common case to have an API that says "this C call > allocates memory; remember to free it when you're done with it." There > should be an library_api_free call for every library (e.g., zlib_free, > openssl_free, etc.) just in case, but it's Not An Issue on Unix. If everyone used ruby_xmalloc and ruby_xfree, would this part of the binary extension problem be addressed? > -- Joe