|
|
|
|
|
by bike4beer
3379 days ago
|
|
Really what does this have to do with APL ( Ken Iverson )?? * This is NOT APL. Futhark is a functional language, we will start with the obligatory factorial program: fun fact (n: i32): i32 = reduce () 1 (map (1+) (iota n))
This has nothing to do with APL. Perhaps a more apt title would be "Python for the GPU".j * There is a paper on this subject, where an APL interpreter is written in FUTARK, but then most compilers are written in C. In reality the technology in question is Futark on GPU. https://futhark-lang.org/publications/fhpc16.pdf |
|
(Submitted title was "Futhark: APL on the GPU".)