Skip to content

dev call 20230914

Florian Angerer edited this page Sep 15, 2023 · 3 revisions

Dev Call: 14 September 2023

Present

Antonio, Florian, Du Toit, Tim, Matti

Agenda

  • Cython/HPy

Cython/HPy

  • Du Toit and Florian are now using HPyGlobal
  • In the long run, we should also use module state
    • The current idea concerning module state is to have two signatures for each slot: one w/ and w/o module state.
    • This will be slower to support on CPython since we need to fetch the module object in the trampoline which might involve some lookup.
    • Anyway, we decided to go for the clean solution even if it is not easy
  • The main goal in Cython/HPy now is to make the test suite run (in both cases, when compiling for C API and HPy hybrid ABI).
  • It's hard to make cut offs using HPy_As/FromPyObject since a lot of the code generation is done ad-hoc in various places but also reuses parts that we've already migrated. So, there is no clear interface between parts where we can easily do a cut off.

HPy/WASM

  • An interesting project and we are happy to help with any issues
  • We are also a bis surprised (and happy) that it compiles and works on WASM since it uses a 32-bit architecture and we've never tested that before.
  • We agreed to add a 32-bit machine in the CI.

HPy Meetup Brno

  • Let's arrive on Thursday and start the meetup on Friday morning
  • We will just hang around in cafes since we will do the Meetup over the weekend.
  • Florian/Stepan will lookup hotel and announce best options (for them)

HPy 0.9.0

  • GraalPy adopted HPy 0.9rc2 and will be in the next release which is scheduled for Sept 19th, 2023.
  • I will do a few minor fixes and then do the stable release 0.9.
    • Test if Python 3.12.0 candidate 2 works with HPy
    • Do a small fix in HPy Quickstart: The installation command should be replaced by python3 -m pip install hpy (and maybe a second command using python3 -m pip install git+https://github.com/hpyproject/hpy.git#egg=hpy for installing from current master)
    • Fix #448
Clone this wiki locally