ruby-changes:63127
From: Kenta <ko1@a...>
Date: Fri, 25 Sep 2020 21:19:50 +0900 (JST)
Subject: [ruby-changes:63127] 56012d2f7e (master): NEWS.md: Add memory view entry
https://git.ruby-lang.org/ruby.git/commit/?id=56012d2f7e From 56012d2f7ef163d6c1f87324c749018cc9079c31 Mon Sep 17 00:00:00 2001 From: Kenta Murata <mrkn@m...> 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]] diff --git a/NEWS.md b/NEWS.md index fb8602a..9a74c71 100644 --- a/NEWS.md +++ b/NEWS.md @@ -353,6 +353,17 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L353 * 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/