News for hackers. Stuff that matters.
Re:PyTorch 1.0 is out by emmelaich on Friday December 07, 2018 @09:53PM (#18633590)
But you're familiar with cin/cout right?

Same thing. Weird at first every C++ programmer should be familiar with it now.

I pronounce << and >> as 'goes to' and 'comes from' or something similar.

Re:PyTorch 1.0 is out by umvi on Friday December 07, 2018 @11:06PM (#18633858)
Of course. But what I'm not used to is seeing something like this:

   cin >> foo(x);
Re:PyTorch 1.0 is out by cercatrova on Monday December 10, 2018 @07:25AM (#18647359)
This is common in many functional languages, and even in the shell. Think of pipes such as input | sed ... | grep ..., or in F#, xs |> List.map (fun x -> x.Value). Basically, each input goes into the function and is piped through to get to the output.