3 ms·
R and Numpy are also pretty good at this (and Julia was inspired by both of these and Matlab). In fact, I'm reasonably certain that R (known as S in the 70's)
by disgruntledphd2 3mo ago
R and Numpy are also pretty good at this (and Julia was inspired by both of these and Matlab).
In fact, I'm reasonably certain that R (known as S in the 70's) was the first real language designed around this concept.
- MarceColl 3mo agoI guess it depends on what real language means to you, but APL[1] existed before and it's fully array based. [1]: https://en.wikipedia.org/wiki/APL_%28programming_language%29 https://en.wikipedia.org/wiki/APL_%28programming_language%29
- disgruntledphd2 3mo agoWhen I writing the comment I was like, maybe APL was first? Nah, no-one will claim that. So congratulations on nerd-sniping me ;)
- subset 3mo agoI learned R for statistical programming at uni, where there was less emphasis on vectorised computation, so it didn't jump to mind, but yes! I've never quite felt like numpy 'clicked' for me in the same way, though. It always felt a bit bolted on, which I suppose it is, as a library (though @ operator overloading etc makes things somewhat nicer now).