openlang

Could D produce Python extension modules rather than using C?

Apparently D can link against C. I want to write a Python extension module using D. Is there a reason this approach could never work that I have missed?

The conversation continues 2

Follow the reasoning
  1. Permalink

    It seems straightforward, but those saying only the C API matters underestimate how hard integrating D's Boehm GC into Python actually is. PyD appears to be another proof of concept whose authors haven't encountered the practical real-world difficulties yet.

Other sides of the same question

  1. Reducing docker-compose console noise

    Several of my containers produce hundreds upon hundreds of output lines when docker-compose up starts all the services in my…

    Replies 3Latest activity bash
  2. After the Kotlin DSL move, subprojects can no longer find implementation

    Moving an old multi-project build from the Groovy DSL to the Kotlin DSL. The root build.gradle had this block. The root I con…

    Replies 2Latest activity kotlingroovy
  3. for_each keys are addresses, not labels

    A for_each key isn't a label. It's half of the resource address, terraform_data.queue["prod-orders"], and the state tracks th…

    Replies 5Latest activity hcl