frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Zoo of Array Languages

https://ktye.github.io/
68•mpweiher•3h ago

Comments

feraloink•3h ago
This is wonderful: APL is there! And a visual APL keyboard too.
srean•2h ago
It's missing Nial I think.
ludsan•2h ago
no uiua :(
etatoby•1h ago
Came here to say the same thing. Uiua is my favorite language by far. BQN is also a cool "Nu-APL" but Uiua is just a full generation ahead.
evnu•1h ago
Uiua is the first one that made array languages "click" for me due to the formatter.
gcanyon•2h ago
Array languages are such a mind twist and so fun. I dabbled in J at one point, and I love explaining

+/%#

to people. But the real expressive power comes when you start to get into tacit expressions yourself, understand function exponents, and "get" under.

Hmmm... maybe I need a refresher...

cess11•2h ago
There's an APK, for dabbling on the phone at times when there's no larger computer available but still time to spend.

https://code.jsoftware.com/wiki/Guides/JAndroid

JoshGG•2h ago
MATLAB is an array language.
radiator•1h ago
it is one of their cousins
marcentusch•2h ago
This is cool. Wish there was more examples for jtye/k so I would have a better chance of learning to use it.

Also missing Uiua.

nathell•2h ago
Is this written by Arthur Whitney himself?
thristian•1h ago
APL and K are still pretty daunting, but I've recently been dabbling in Lil[1], which is something like a cross between K and Lua. I can fall back on regular procedural code when I need to, but I appreciate being able to do things like:

    127 * sin (range sample_rate)*2*pi*freq_hz/sample_rate
This produces one second audio-clip of a "freq_hz" sine-wave, at the given sample-rate. The "range sample_rate" produces a list of integers from 0 to sample_rate, and all the other multiplications and divisions vectorise to apply to every item in the list. Even the "sin" operator transparently works on a list.

It also took me a little while to get used to the operator precedence (always right-to-left, no matter what), but it does indeed make expressions (and the compiler) simpler. The other thing that impresses me is being able to say:

    maximum:if x > y x else y end
...without grouping symbols around the condition or the statements. Well, I guess "end" is kind of a grouping symbol, but the language feels very clean and concise and fluent.

[1]: https://beyondloom.com/decker/lil.html

fainpul•1h ago
I assume this is the same as this?

  # python
  [127 * sin(x * tau * freq / samplerate) for x in range(samplerate)]
thristian•1h ago
Pretty much, yeah! The difference is that in Python the function that calculates a single value looks like:

    foo(x)
...while the function that calculates a batch of values looks like:

    [foo(x) for x in somelist]
Meanwhile in Lil (and I'd guess APL and K), the one function works in both situations.

You can get some nice speed-ups in Python by pushing iteration into a list comprehension, because it's more specialised in the byte-code than a for loop. It's a lot easier in Lil, since it often Just Works.

RodgerTheGreat•39m ago
A few more examples in K and Lil where pervasive implicit iteration is useful, and why their conforming behavior is not equivalent to a simple .map() or a flat comprehension: http://beyondloom.com/blog/conforming.html
leephillips•28m ago
And in Julia it’s foo.(x).
zahlman•59m ago
For that matter,

  # python
  from numpy import sin, arange, pi
  127 * sin(arange(samplerate) * 2 * pi * freq / samplerate)
Pompidou•1h ago
R is also an array language, but a non-iversonian one. Another good ressource for array languages is https://aplwiki.com/.

r/apljk on reddit is also active.

seanhunter•29m ago
At one time I briefly spent a bunch of time learning kdb/q. I remember one particular day when I wrote a non-trivial program and it worked first time. I was so shocked I thought I must have suffered some kind of brain aneurism or something.
veridianCrest•21m ago
Array languages: where your first working program feels like a happy accident.
OneDeuxTriSeiGo•10m ago
Programming in an array lang "should" generally feel like using a calculator.

You are working in a REPL, starting with small expressions to verify they are roughly doing what you want and then composing them to build up until you can plug it all together and now have a formula you can plug into the calculator to plug and chug all the rest of your data.

So in that sense yeah it does kind of replicate the magic of the first time you got a complex equation or BASIC program to run on your TI back in your school days.

It's not just about the em-dashes, it's about substance

https://ritza.co/articles/gareth/its-not-just-about-the-em-dashes-its-about-substance/
1•sixhobbits•27s ago•0 comments

A Historic Crypto Selloff Erased over $19B, but Two Accounts Made $160M

https://www.wsj.com/finance/currencies/a-historic-crypto-selloff-erased-over-19-billion-but-two-a...
1•kwar13•35s ago•0 comments

Show HN: Snapdom V2 Beta – Capture and modify DOM to multiple formats on-the-fly

https://snapdom.dev/
1•tinchox5•51s ago•0 comments

Technical Blogging (2024) [audio]

https://oxide-and-friends.transistor.fm/episodes/technical-blogging
1•mooreds•1m ago•0 comments

What do we want? Windows 10 support When do we want it? Until 2030

https://www.theregister.com/2025/10/14/protest_outside_microsoft_brussels/
1•rntn•1m ago•0 comments

I have to buy doughnuts with cash

https://www.msn.com/en-gb/money/topstories/why-i-have-to-buy-doughnuts-with-cash/ar-AA1OfDMX
1•mooreds•1m ago•0 comments

Learning Outside Your Specialty – Why I Got a Kubernetes Cert

https://danielleheberling.xyz/blog/why-kubernetes/
1•mooreds•2m ago•0 comments

Bad actors abuse IE mode in Edge browser to hack into devices

https://www.scworld.com/news/bad-actors-abuse-ie-mode-in-edge-browser-to-hack-into-devices
1•Bender•3m ago•0 comments

New Astaroth banking trojan leverages GitHub repos

https://www.scworld.com/news/new-astaroth-banking-trojan-leverages-github-repos
1•Bender•3m ago•0 comments

NPM packages, unpkg CDN abused for phishing infrastructure

https://www.scworld.com/news/175-npm-packages-unpkg-cdn-abused-for-phishing-infrastructure
1•Bender•3m ago•0 comments

Drawing Text Isn't Simple: Benchmarking Console vs. Graphical Rendering

https://cv.co.hu/csabi/drawing-text-performance-graphical-vs-console.html
2•todsacerdoti•4m ago•0 comments

"Powered by AI" Is Not a Value Proposition

https://www.nngroup.com/articles/powered-by-ai-is-not-a-value-proposition/
1•gk1•6m ago•0 comments

An oral history of Shadow of The Colossus (PS2)

https://www.designroom.site/shadow-of-the-colossus-oral-history/
1•Imaginarythomas•7m ago•0 comments

Show HN: MemoSing – a memory game powered by music

1•orispok•7m ago•0 comments

Show HN: Ship of Theseus CLI

https://github.com/BrendanBuono/shipoftheseus
1•durron•8m ago•0 comments

The esoteric programming language Velato uses music as its source code

https://www.futilitycloset.com/2025/10/10/velato/
1•leephillips•10m ago•0 comments

Dimon says autocompany bankruptcies reveal 'signs' of excess corporate lending

https://www.cnbc.com/2025/10/14/jamie-dimon-auto-bankruptcies-lending-excess.html
1•zerosizedweasle•10m ago•0 comments

Show HN: Realistic and versatile Video Lip-syncing

https://outspeak.ai
1•thiagoas•12m ago•0 comments

Show HN: Chromecast Gaming (2024)

https://kroon.email/site/en/posts/chromecast-gaming/
1•resill•12m ago•0 comments

Free Image to Image AI Generator

https://imagetoimage.art
1•MintNow•13m ago•0 comments

The Rise of Social Media and the Fall of Western Democracy

https://www.nytimes.com/2025/10/14/opinion/social-media-populism-trump-smartphones.html
5•pseudolus•15m ago•1 comments

The gap semester never ends

https://christopherxu.substack.com/p/the-gap-semester-never-ends
1•jdcampolargo•15m ago•0 comments

When Efficiency Is Worthless

https://joshbrake.substack.com/p/when-efficiency-is-worthless
1•FromTheArchives•16m ago•0 comments

Show HN: Real 4D Editor [video]

https://www.youtube.com/watch?v=p0TeWPZEDXE
1•Krei-se•16m ago•0 comments

Ask NH: How will adoption of AI coding impact development of new frameworks?

1•AlexMoffat•16m ago•1 comments

Show HN: AI Chat Watch – analyze what AI say about brands

https://github.com/aichatwatch/aicw
1•eummm•18m ago•1 comments

When if is just a function

https://ryelang.org/blog/posts/if-as-function-blogpost-working-on-it_ver1/
1•soheilpro•19m ago•0 comments

Wireshark 4.6.0 Supports macOS Pktap Metadata (PID, Process Name, etc.)

https://nuxx.net/blog/2025/10/14/wireshark-4-6-0-supports-macos-pktap-metadata-pid-process-name-etc/
3•c0nsumer•21m ago•0 comments

In the US landscape 'Wild' disturbances are overtaking human-directed changes

https://phys.org/news/2025-09-major-shift-landscape-wild-disturbances.html
1•PaulHoule•22m ago•0 comments

My first NextJS project, I built a dictory

https://www.utilo.io/en/home
1•enha•23m ago•0 comments