1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS.md: Add memory view entry

The memory view interface added at 890bc2cdde is experimental new C-API
set.  This feature permits extension libraries to share a memory area
that contains such a numerical array and a bitmap image.  This is
designed by referring to Python's buffer protocol.
[[Feature #13767]]
[[Feature #14722]]
This commit is contained in:
Kenta Murata 2020-09-25 21:16:10 +09:00
parent caaa36b4e6
commit 56012d2f7e
No known key found for this signature in database
GPG key ID: CEFE8AFB6081B062

11
NEWS.md
View file

@ -353,6 +353,17 @@ Excluding feature bug fixes.
* C API header file `ruby/ruby.h` was split. [[GH-2991]] Should have no impact
on extension libraries, but users might experience slow compilations.
* Memory view interface [EXPERIMENTAL]
* The memory view interface is a C-API set to exchange a raw memory area,
such as a numeric array and a bitmap image, between extension libraries.
The extension libraries can share also the metadata of the memory area
that consists of the shape, the element format, and so on.
Using these kinds of metadata, the extension libraries can share even
a multidimensional array appropriately.
This feature is designed by referring to Python's buffer protocol.
[[Feature #13767]] [[Feature #14722]]
## Implementation improvements
* New method cache mechanism for Ractor [[Feature #16614]]