4 ms·
DumPy: NumPy except it's OK if you're dum
- deleted 1y ago[deleted]
- Bostonian 1y agoIt sounds like the author is reinventing modern Fortran, which has array operations but also fast loops. `Here’s my extremely non-clever idea: Let’s just admit that loops were better. In high dimensions, no one has yet come up with a notation that beats loops and indices. So, let’s do this: Bring back the syntax of loops and indices. But don’t actually execute the loops. Just take the syntax and secretly compile it into vectorized operations. Also, let’s get rid of all the insanity that’s been added to NumPy because loops were slow.`
- homarp 1y agodiscussed at https://news.ycombinator.com/item?id=44080181 https://news.ycombinator.com/item?id=44080181