Re:A History of APL in Fifty Functions (2016)
by Athas on Thursday November 21, 2019 @08:09AM
(#21593642)
I've never used K, but isn't Dyalog mostly parallel through isolates? Last I checked, basic array operations were not automatically executed in parallel. Did this change?
[ Parent
| on HN ]
Re:A History of APL in Fifty Functions (2016)
by jharsman on Thursday November 21, 2019 @09:16AM
(#21594173)
Dyalog launches multiple threads for certain operations if the arrays are large enough to justify the overhead.
Re:A History of APL in Fifty Functions (2016)
by derefr on Thursday November 21, 2019 @11:38AM
(#21595976)
That seems like the right approach for CPU-targeted code. Has an APL descendant ever been created to target a GPGPU compute-kernel, or even to compile to an FPGA netlist description of a DSP?
Re:A History of APL in Fifty Functions (2016)
by jodrellblank on Thursday November 21, 2019 @12:30PM
(#21596761)
Aaron Hsu’s co-dfns is a compiler of a subset of APL, written in APL, which compiles to GPU code.
Do a HN Algolia search for his username “arcfide” to find a lot of discussion, and there’s a couple of YouTube video talks, one of him talking through the codebase on a livestream, another a recording of a conference style tall introducing it to people.
It needs Dyalog APL, but that’s now easily available for non commercial use.
Re:A History of APL in Fifty Functions (2016)
by lelf on Thursday November 21, 2019 @12:20PM
(#21596593)
Yes. https://github.com/Co-dfns/Co-dfns can target GPU.