You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mkoubaa> actually, Mark did talk to HPy first. See here: #323
mkoubaa> I think the mental model of "the API is mostly a struct of pointers to functions" is hard to grasp initially. However, this is exactly what a vtable looks like and most people can follow that. I think HPy can do a better job of explaining why it made that choice for HPyContext
mkoubaa> The HPy github repo does a poor job of saying "this is the definition of the HPyContext in this header file", instead relying on codegen. I don't fully understand why we don't just have a hand-crafted hpy.h that defines the API and then implementation-specific header files for universal, cpython, etc. But I also haven't made a big effort to understand the codegen system
From IRC:
Also Mark seemed to have a hard time finding documentation: markshannon/New-C-API-for-Python#1 (comment)
The text was updated successfully, but these errors were encountered: