Skip to content

dev call 20231005

Stepan Sindelar edited this page Oct 5, 2023 · 8 revisions

Dev Call: 14 September 2023

Present

Stepan, Florian, Matti,

Agenda

  • HPy Meetup / CPython core dev sprint in Brno
  • HPy 0.9 released 🥳

CPython core dev sprint C API summit

  • Ideas for C API summit pres:
  • present (detailed) handles contract (HPy_Dup, HPy_Close, lifetime of handles, HPy_Is)
  • show how is that contract implemented on CPython (HPy_Dup -> Py_INCREF, etc.)
  • still: debug mode checks the full contract
  • handles allow boxing (MicroPython also does boxing)
  • handles would work well with WebAssembly GC (MicroPython also uses tracing GC and its API exposes handles)
  • no-GIL: handles (and their lifetime tied to single Python->C call) allow "single threaded" reference counting, could that be useful?
  • API vs. ABI: you can have ABI stabililty and back
  • context arg allows specializations (profiling in upcalls; specialized upcall functions)
Clone this wiki locally