News for hackers. Stuff that matters.
Re:PyTorch: Where we are headed and why it looks a lot like ... by Der_Einzige on Friday November 26, 2021 @07:19PM (#29355780)
This is why I find it so annoying that CS programs seem to worship functional programming (at least MY program did!).

No, I AM going to write procedural code, and it WILL be faster than your "high IQ" 1 line recursive solution. Also funny to see how little recursion gets used in CUDA/Pytorch/GPU programming - which is what we are seeing to be more and more important over time.

Re:PyTorch: Where we are headed and why it looks a lot like ... by Vetch on Friday November 26, 2021 @09:52PM (#29356849)
Functional programming is a lot more than just recursion and there's nothing about GPUs that precludes an immutable first array based language with functional programming as core. Google Research's Dex is an example.
Re:PyTorch: Where we are headed and why it looks a lot like ... by cookieater on Saturday November 27, 2021 @10:26AM (#29360849)
Speaking of functional programming and GPU's - check out Futhark :D. Very on the fringe but very interesting.