From 56012d2f7ef163d6c1f87324c749018cc9079c31 Mon Sep 17 00:00:00 2001 From: Kenta Murata Date: Fri, 25 Sep 2020 21:16:10 +0900 Subject: 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]] --- NEWS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/NEWS.md b/NEWS.md index fb8602a97e..9a74c719c7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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]] -- cgit v1.2.3