Skip to content

My initial thoughts #2

Open
Open
@encukou

Description

@encukou

I don't know how discussions are supposed to work here, so I'm sending these as an issue:

  • This sounds like a Python 2→3 transition, but for the C API. I doubt the existing extension ecosystem can handle the timeline.
  • The end goal & rules are very similar to my draft. Of course with a “revolution rather than evolution” approach you can be much stricter & faster, but, this is essentially where I'd like Limited API to end up :)
  • For interop with other languages I suggest avoiding some C features: enums, macros, bit fields, to really make this a good common basis for all languages.
  • I'd be interested in seeing how type creation would work -- a builder pattern?
  • Naming it “new C API” is confusing, at least Victor used the same name for something slightly different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions