HN user

skruger

511 karma

I dabble in array languages

<https://xpqz.github.io/learnapl>

<https://xpqz.github.io/cultivations>

<https://xpqz.github.io/kbook>

Posts29
Comments72
View on HN
lv1.sh 15d ago

l: A new runtime for k and q

skruger
178pts113
www.theguardian.com 1mo ago

Cathy Tie's mission to genetically modify babies

skruger
4pts0
www.computer.org 3mo ago

History of CRMs APL

skruger
2pts0
www.bbc.co.uk 6mo ago

Dark energy got even weirder

skruger
8pts1
nvlabs.github.io 9mo ago

GPU Array Programming with Parrot

skruger
1pts0
www.theguardian.com 10mo ago

Water sommeliers rival wine terroirs

skruger
3pts0
www.msn.com 12mo ago

Science is winning the Tour de France

skruger
1pts0
www.youtube.com 1y ago

Do programming languages deliver on their promises? [video]

skruger
1pts0
newsroom.ibm.com 1y ago

IBM to Acquire DataStax

skruger
6pts0
www.theregister.com 1y ago

US Army should ditch tanks for AI drones

skruger
1pts2
www.bbc.co.uk 1y ago

Everest climber's foot found after 100 years

skruger
4pts0
www.cio.com 1y ago

AI data centres to go nuclear?

skruger
4pts0
www.sciencealert.com 1y ago

China Launches Starlink Rival

skruger
8pts0
www.bbc.co.uk 2y ago

Tour de France: How professional cycling teams eat and cook on the road

skruger
196pts244
www.youtube.com 2y ago

What is APL, and what can it do for you? [video]

skruger
1pts0
www.dyalog.com 2y ago

APL Quest

skruger
74pts6
news.ycombinator.com 2y ago

Can ChatGPT be made to play Wordle?

skruger
1pts1
www.pocketgamer.biz 3y ago

John Romero Interviewed

skruger
1pts0
www.dyalog.com 3y ago

APL: Extending Structural Functions to Scalars

skruger
3pts0
www.bbc.co.uk 3y ago

Nazare: The World’s Biggest Wave

skruger
3pts0
www.reuters.com 3y ago

Europe names first disabled astronaut

skruger
1pts0
medium.com 3y ago

Tea: Homebrew and Blockchain

skruger
3pts0
www.nytimes.com 3y ago

What Is a “Healthy Food”?

skruger
2pts0
www.theregister.com 3y ago

IBM's 'bare metal' LinuxONE push

skruger
3pts1
www.wired.com 3y ago

The Big Business of Burying Carbon

skruger
2pts0
artsandculture.google.com 3y ago

Detroit Industry Murals

skruger
75pts33
tacit.help 3y ago

Transform tacit APL into dfn form

skruger
3pts0
news.ycombinator.com 3y ago

Ask HN: Favourite Lesser-Known Alg?

skruger
22pts8
www.dyalog.com 4y ago

Dyalog APL Problem Solving Competition – Phase II Highlights

skruger
3pts0

The 'unit of thought' thing is a nod to the Ken Iverson paper on APL that won him the Turing Award ("Notation as a Tool of Thought"), also referenced by Dyalog's tag line "The tool of thought for software solutions"). Variations of that phrase are endemic in the array languages space.

It has a huge RoI, even if you never use it in anger. It’s a bit like Lisp in that regard — it shapes your thinking.

It makes parsing tricky. But for the programmer it’s rarely an issue, as typically definitions are physically close. Some variants like BQN avoids this ambiguity by imposing a naming scheme (function names upper case, array names lower case or similar).

Yes, it's either an array (if A, B and C are arrays), a function derived via the dyadic operator B, with operands A and C being either arrays or functions, a dyadic function call of the dyadic function B (A and C are arrays), or the sequential monadic application of functions A and B to array C, or a derived function as the tacit fork (A, B and C are functions). Did I miss anything?

The learning curve isn’t steep. I’d argue the opposite. K is a tiny, tiny language. Put your mind to it, and you’ll be reading it just fine in a weekend. It’s just different. It’s optimised for its wheelhouse.

What about K? 1 year ago

Yeah—true. I wrote it as “the missing manual” for ngn/k, enough to get someone over the initial hump. It’s not a “Mastering k” tome.

What about K? 1 year ago

Depends. APL is the OG. Try a few and see what you like. If you learn one Iverson language, it's pretty easy picking up the others.

Here's a gentle guide to APL by the same author (me):

https://xpqz.github.io/learnapl/

Dyalog APL is likely the best supported in terms of tooling, debugging etc. If you're looking for static typing, you're in the wrong place.

k on pdp11 3 years ago

I’m happy to have contributed in some small way to growing the APL community. Thanks for the shoutout.