[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:218

From: "M. Edward (Ed) Borasky" <znmeb cesmail.net>
Date: Wed, 25 Oct 2006 08:54:40 -0700
Subject: [yarv-dev-en:218] Re: Autoconf 2.6 patch

SASADA Koichi wrote:
> Hi,
> 
> M. Edward (Ed) Borasky wrote:
>> also at RubyConf -- the guy that wants "narray" semantics as a primitive
>> data type in Ruby 1.9.1 :)
> 
> I want to ask you after that, but there were no opportunities.  Your
> opinion is to integrate NArray and Ruby in syntax level, right?  I think
> that is language design and I can't decide it.
> 

I don't think the syntax is as big an issue as the semantics. As long as
the syntax is "Ruby-like", what I'm asking for is that there be an
efficient floating point and efficient fixnum array data type. That
essentially means that a floating point or fixnum array object occupies
a contiguous group of "words" in memory and can be indexed in the same
manner as in C or Fortran.

At the virtual machine level, you'd probably want to add vector
pseudo-instructions that execute the most common inner loops from
scientific computing. There aren't that many -- implement the level 1
BLAS and the bit-reversed indexing of a one-dimensional complex array
required by an FFT and you're done. Everything else is an "outer loop"
and can be done at the Ruby level without losing a heck of a lot.

At some point in the not too distant future I'm going to be looking at
the implementation of NArray itself, so stay tuned.

--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

       208 2006-10-23 01:46 [tewk tewk.com       ] Autoconf 2.6 patch                      
       209 2006-10-23 04:21 ┣[znmeb cesmail.net   ]                                       
       215 2006-10-25 21:39 ┃┗[ko1 atdot.net       ]                                     
->     218 2006-10-26 00:54 ┃ ┗[znmeb cesmail.net   ]                                   
       216 2006-10-25 21:40 ┗[ko1 atdot.net       ]                                       
       217 2006-10-26 00:41  ┗[znmeb cesmail.net   ]