-
-
Notifications
You must be signed in to change notification settings - Fork 52
dev call 20220707
Florian Angerer edited this page Jul 7, 2022
·
2 revisions
Matti, Simon, Ronan, Du Toit, Gianluca, Antonio, Florian, Tim, Mohaned
- SciPy 2022 HPy BoF session topics
- Pillow migration progress (Du Toit)
- HPy Sprint Düsseldorf
- HPyContext backwards compatibility (PR-331)
- NumPy migration progress
- HPy metaclass support
- HPyContext layout (https://github.com/hpyproject/hpy/issues/330)
- Compatibility with 3.11 alpha 5 (https://github.com/hpyproject/hpy/issues/288)
- Antonio and Simon are going to SciPy 2022
- Ronan is going to attend EuroPython
- GraalVM team's branches are now online
- It should be easy to try it out. Just checkout the appropriate branch in HPy and install it. Then checkout NumPy branch and build/install it.
- Tim already pushed the game-of-life example and some description on how to run it in numpy-hpy's readme.
- Current NumPy/HPy changes are barely in a shape that can be merged.
- How to approach upstreaming of changes: try to push heap-type conversion first
- Ronan did not upstream his changes because PyPy couldn't support that types are changed after creation. NumPy patches buffer procs or something after the type was initialized.
- Did the GraalVM team see some fundamental performance blockers? * That's hard to answer by now. The GraalVM team has seen performance regressions due to generic APIs. For example, in CPyhon you can usee PyTuple_GetItem which assumes a tuple as receiver and directly accesses the underlying storage. In HPy, you need to use HPy_GetItem_i which is generic. * Florian also expects some penalty because HPy does not _allow_ borrowed and stolen references. I.e. there will be more inc/dec-refs because of that. However, that can probably be fixed by restructuring code and using trackers.
- SciPy 2022 HPy BoF session topics: * NumPy devs will also be there we could advertise our migration efforts
- Pillow progress (Du Toit): started to port Pillow; seems to be 20% slower. Need to investigate why. HPy args parser cannot handle tuple unpacking (intentionally); the idea is to parse the tuple as 'O' and unpack manually
- HPyContext layout * Florian will create benchmarks to see if additional indirection is expensive * We could use NumPy array printing because that's stack intensive
- HPyContext backwards compatibility (PR-331) * Matti confirms that NumPy uses a similar approach * Antonio suggests that we could also do this on a file-granularity (e.g. have public_api.0.h and public_api.1.h and the added context members are added at the end of the context). * In general: adding a preprocessor to autogen for public_api.h would also be nice for the debug mode. We could use pcpp (a pure Python impl) for that.
- Antonio came up with the idea to produce real universal binaries by compiling to web assembly.
- 5 September 2024
- 4 April 2024
- 7 March 2024
- 1 February 2024
- 11 January 2024
- 7 December 2023
- 9 November 2023
- 5 October 2023
- 14 September 2023
- 3 August 2023
- 6 July 2023
- 1 June 2023
- 4 May 2023
- 13 April 2023
- 2 March 2023
- 2 February 2023
- 12 January 2023
- 1 December 2022
- 3 November 2022
- 6 October 2022
- 8 September 2022
- 4 August 2022
- 7 July 2022
- 2 June 2022
- 5 May 2022
- 7 April 2022
- 3 March 2022
- 3 February 2022
- 13 January 2022
- 2 December 2021
- 4 November 2021
- 7 October 2021
- 2 September 2021
- 12 August 2021
- 8 July 2021
- 6 May 2021
- 4 March 2021
- 7 January 2021
- 3 December 2020
- 5 November 2020