3 ms·
Could Numpy be considered the APL renaissance? Not in syntax, but conceptually?
by Ruud-v-A 8y ago
Could Numpy be considered the APL renaissance? Not in syntax, but conceptually?
- jacquesm 8y agoNo, 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.
- samatman 8y agoIt can be both! https://github.com/baruchel/apl https://github.com/baruchel/apl What I'm craving is APL for TensorFlow...
- dnautics 8y agoIf we're going that way, I'd say Julia is closer.
- ChrisRackauckas 8y agoIn fact, it can get extremely close: https://www.youtube.com/watch?v=XVv1GipR5yU https://www.youtube.com/watch?v=XVv1GipR5yU And since you can define your own operators, you could just go all of the way.
- dnautics 8y agoYou 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/6512f3b4fd02b9a9cc292cf0f88534c5 https://gist.github.com/ityonemo/6512f3b4fd02b9a9cc292cf0f88... also string macros are cheating!