News for hackers. Stuff that matters.
Re:Swift: Google’s Bet on Differentiable Programming by lalord on Thursday April 09, 2020 @02:38PM (#22825759)
Hi, author here, thanks for taking the time to read the article!

The objective of the demo was not to see which language could sum up a bunch of numbers the fastest. You could keep optimizing that until you are left with just `print(<the resulting number>)`. The objective was to have a simple example of looping over an array a bunch of times. The only reason I ended up summing the numbers in the array and printing them was so that LLVM wouldn't optimize it away and be unfair towards python. I actually wrote it first in Python tbh.

Re:Swift: Google’s Bet on Differentiable Programming by BiteCode_dev on Thursday April 09, 2020 @02:44PM (#22825817)
Make sense, thanks.