Issue #14722 has been updated by dsisnero (Dominic Sisneros).


Any thoughts on this? This would help to use views of numo_narray and NMatrix without copying to/from ruby.  See https://github.com/ruby-numo/numo-narray/issues/25

----------------------------------------
Feature #14722: python's buffer protocol clone
https://bugs.ruby-lang.org/issues/14722#change-85733

* Author: jsaak (jsaak jsaak)
* Status: Open
* Priority: Normal
----------------------------------------
Is there a way to implement, or even copy Python's buffer protocol in ruby?

There is an article that describes the benefits quite well:
https://jeffknupp.com/blog/2017/09/15/python-is-the-fastest-growing-programming-language-due-to-a-feature-youve-never-heard-of/

I did some work with machine vision, and the ability to manipulate images fast was also not realistic with ruby today.
This could be another area where ruby could shine.

Maybe this idea is worth a comment.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>