News for hackers. Stuff that matters.
Re:Klong: a Simple Array Language by 127 on Sunday December 22, 2019 @06:55AM (#21856674)
At this point Python/Numpy is really the array processing language I prefer to use. You can even use libraries like Cupy to switch the backend from BLAS/LAPACK to Nvidia CUDA libraries, which makes it lightning fast, often improving performance by 100x. And the requirement for arcane runes in Numpy is much less than APL or J.

Also the various libraries and functionalities that plug into Numpy is countless and extremely powerful.

There's also https://futhark-lang.org/ which might be an improvement in writing array processing kernels.

Re:Klong: a Simple Array Language by korijn on Sunday December 22, 2019 @08:30AM (#21857024)
> arcane runes

What does that mean?

Re:Klong: a Simple Array Language by conover on Sunday December 22, 2019 @08:56AM (#21857106)
APL (and I assume J) uses a large range of special graphic symbols as part of its syntax, which can be difficult to internalize for folks coming from other languages. It can be easily construed as mysterious or magical lettering (arcane rune). My favorite video to illustrate this is Conway's Game of Life written in APL: https://www.youtube.com/watch?v=a9xAKttWgP4
Re:Klong: a Simple Array Language by beagle3 on Monday December 23, 2019 @10:37PM (#21869652)
J and K stick to Ascii (though recent K seems to accept a unicode "sqrt" sign, and "pi" character with the expected meaning).

I do find some J choices questionable - e.g. '}' and '{' are used as individual operators, rather than a parenthetical pair - which confuses editors without a special J mode, and humans who switch between languages often - but if you use it enough, it's easy to get used to; Also, K keeps () {} and [] as parenthetical pairs, like they are in C/Java/Python etc

Re:Klong: a Simple Array Language by aratakareigen on Sunday December 22, 2019 @09:38AM (#21857312)
Unlike APL, J has an explicit goal of sticking only to ASCII symbols, but yeah, they're just as intimidating.
Re:Klong: a Simple Array Language by dkersten on Sunday December 22, 2019 @08:58AM (#21857119)
APL uses non-ASCII characters and J uses weird (or at least “unfamiliar”) combinations of ASCII symbols.