~/talk

Lessons learned from using the C Foreign Function Interface

Talkat PyData Global 2022 · 2022-12-01..12-03· [python]
links:none on file
slides:none on file

Build compiles Python ML into a dynamic library and links it into Fortran via cffi, uses buffer sharing for arrays, and replaces one Fortran routine with a Python version that functions correctly. Measured runtimes show about a 10× slowdown at 32 processes and a catastrophic jump to roughly 100× at 2048 processes. Flexible and easy to develop, but practical performance breaks when scaling across many MPI ranks and the root cause remains unresolved.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.