Thanks from a python programmer

James Lu jamtlu at gmail.com
Sun Mar 7 20:19:12 UTC 2021


On Friday, 5 March 2021 at 18:22:31 UTC, mipri wrote:
>   James Lu: Python has first-class C integration, and D has
>     first-class extern(C) support.
>
>   mipri: [These examples from Nim] are first class C
>    integration. What D has is very fine, but it's general 
> seating.
>    [Python] was such a chore that http://swig.org/ happened to
>    pull the Python programmers off the wing

from ctypes import *
sox = cdll.LoadLibrary("libc.so.6")
sox.sox_init()

No headers required.


More information about the Digitalmars-d mailing list