Functional Programing: stop using recursion, cons. Use map & vectors

asandroq asandroq at gmail.com
Tue May 24 16:39:15 EDT 2011


On May 24, 12:27 am, Deeyana <d.awlb... at hotmail.invalid> wrote:
>
> Classic unsubstantiated and erroneous claim. Scheme does not come OOTB
> with any suitable libraries for host interop and though it can make calls
> to C libraries, doing so is awkward and involves difficulties with the
> impedance mismatch between Scheme's data structures and C's char *, void
> *, int, double, array, etc. types. To top it off, C lacks automatic
> memory management, which means you'll have to concern yourself with
> manually disposing of allocated data structures used in interop. (Or,
> worse, things will get garbage collected by the Scheme runtime that the
> Scheme code no longer references, but the C library is still using, and
> bam! SIGSEGV.)
>

Classic unsubstantiated and erroneous claim.



More information about the Python-list mailing list