Hacker News new | ask | show | jobs
by Ruud-v-A 2949 days ago
Could Numpy be considered the APL renaissance? Not in syntax, but conceptually?
3 comments

No, not for terseness. Numpy is nice because it extends Python in a reasonably good and efficient way but standalone it doesn't do much of anything and Python is so much more verbose than APL. That's the beauty of APL in a way: there really is nothing left to remove.
It can be both! https://github.com/baruchel/apl

What I'm craving is APL for TensorFlow...

If we're going that way, I'd say Julia is closer.
In fact, it can get extremely close:

https://www.youtube.com/watch?v=XVv1GipR5yU

And since you can define your own operators, you could just go all of the way.

You can't define operator precedence though!! (That's a good thing). There was once a Julia talk about a really old programming language which disallowed any operator groupings without parens except for the basic seven or eight.

https://gist.github.com/ityonemo/6512f3b4fd02b9a9cc292cf0f88...

also string macros are cheating!