News for hackers. Stuff that matters.
Re:Swift for TensorFlow Shuts Down by suyash on Friday February 12, 2021 @03:08PM (#26117979)
First, managing python dependencies and versions, current system is horrible. Focus on fixing that, then performance. Swift is much faster than Python. Third, Swift is a much advance and intelligent language to program in than Python. When I write Swift code, I feel like a PhD and when I write Python, I'm back in elementary school.
Re:Swift for TensorFlow Shuts Down by swagonomixxx on Friday February 12, 2021 @04:09PM (#26118566)
It doesn't matter that "Swift is faster than Python". Your TensorFlow graph is gonna be slow as all hell if it's running on the CPU. The bottleneck here really isn't performance on a CPU. That's a no-brainer for all non-ML applications.

But for applications that require a GPU (i.e, most ML applications) cutting over to Swift from Python will likely win you nothing in performance, and wouldn't be worth it at all.