-
-
Notifications
You must be signed in to change notification settings - Fork 53
Dev Call: 7 October 2021
Tim Felgentreff edited this page Oct 8, 2021
·
2 revisions
Tim, Florian, Stepan, Mohaned, Matti, Antonio, Simon
-
hpy_basic
example running in Cython.- Matti & Stefan Behnel had an "easy" idea for HPy support in Cython. Florian's changes are a bit more invasive.
- Florian will try to push his changes to a public repo soon so Matti and Stefan can take a look.
- HPy_BuildValue PR is open with multiple packing/unpacking specifiers (not all)
- Currently working on debug mode for HPy_UnicodeAsUTF8.
- We had some discussion around how portable vs efficient the debug mode has to be.
- BEGIN_ALLOW_THREADS is used in
psutil
, which Stepan has ported- We decided to keep it, because it doesn't mean you have to have a GIL.
- Maybe in the future we can allow extensions to declare they are fully thread-safe and reentrant, so impls without a GIL do not have to take a lock when calling into them
- discussed fast iteration over
PyObject** items
via thePySequence_Fast*
functions- we're not going to address this issue now
- Matti + Stepan suggested we might offer some kind of iteration API
- Stefan said that passing a function ptr into a `forEach function is bad for the C compiler, and mentioned that GNU R has an API with a buffer that is filled with parts of the sequence and then an explicit loop, which happens to vectorize well.
- Anto mentioned there was early discussion on this: https://github.com/hpyproject/hpy/blob/master/docs/api.md#specialized-protocols
- PyPy release in a week will also support 0.0.3
- Cython merge discussion
- it would be nice if we could merge something that can be called "alpha" at some point for a Cython release
- maybe when the piconumpy.pyx runs we should propose it
-
matplotlib
partial porting in progress -
PyArgParseTuple
can use custom converters that expectPyObject*
- these would need to be ported to HPy for the argument parsing
- we should define a mixed mode and pure mode compilation, where we disallow
Python.h
includes completely
- 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