Python 3.12 highlights pt. 2: Direct memory access with the buffer protocol
InfoWorld | Jun 22, 2023
The Python buffer protocol provides a mechanism for directly accessing regions of memory wrapped by Python objects. Until now you couldn't create a Python class that exposed the buffer protocol directly, but Python 3.12 adds class methods to do just that. Learn in this video how to create classes that expose the buffer protocol, and how to manage the resulting memory views.
Part 1:
https://youtu.be/AHtChZg2cFA
Copyright © 2023 IDG Communications, Inc.