~/talk

From no CPython C API experience to shipping a new DType in NumPy 2.0

Talkat SciPy 2024 · 2024-07-08..07-14· [python, compilers-and-language-design]
links:none on file
slides:none on file

Implements a UTF-8 variable-width StringDType in NumPy 2.0 by writing C using the NumPy DType C API, funded via a NASA ROSES grant collaboration, and lands as a shipped feature that supports missing values and new string ufuncs. It uses a struct-of-pointers layout with short string optimization and an arena allocator to keep data contiguous, improves performance over old fixed-width/object approaches, and currently serializes via pickle while NPY format support remains pending.

AI-written summary · about

  1. 0:00Introduction to numpy strings
  2. 1:13History of numpy strings
  3. 4:46Ecosystem and community impact
  4. 7:24Funding and project origins
  5. 9:09Background and onboarding
  6. 10:49Engineering the string dtype
  7. 14:05Development process and Dtypes
  8. 15:47Overcoming project challenges
  9. 18:00Becoming a maintainer
  10. 19:48Features of the new dtype
  11. 22:38Q&A and concluding remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.