<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>usgroup</author><text>i picked up c++ for some gpu stuff with the arrayfire api... felt the same. firstly, modern c++ takes no time to learn if you come from java &amp;#x2F; c&amp;#x2F; c# &amp;#x2F; etc. secondly, things like operator overloading and type inference make for pretty seamless apis. E.g. want to add matrices? auto C = A + B.&lt;p&gt;A lot of things suck (closures, generator functions, first order functions all suck in c++), but oh my does it all run fast when you get it working; plus wrapping it with Rcpp or Lua is easy as pie.</text><parent_chain><item><author>htfy96</author><text>What surprised me most is the elegance of C++ API. Compared to its equivalence in Python, the C++ version is almost the same if we discard the &amp;quot;auto&amp;quot; keyword [0]. As mentioned in the doc, they put user-friendliness over micro-optimizations, which also proves the expressiveness of modern C++ (at least when they want to prioritize user-friendliness!)
[0]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;pytorch.org&amp;#x2F;cppdocs&amp;#x2F;frontend.html#end-to-end-example&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;pytorch.org&amp;#x2F;cppdocs&amp;#x2F;frontend.html#end-to-end-example&lt;/a&gt;</text></item></parent_chain></comment><story><title>PyTorch 1.0 is out</title><url>https://github.com/pytorch/pytorch/releases/tag/v1.0.0</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>perturbation</author><text>I&amp;#x27;m hoping that this results in a nice, high-level API for &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;fragcolor-xyz&amp;#x2F;nimtorch&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;fragcolor-xyz&amp;#x2F;nimtorch&lt;/a&gt; as well, which AFAIK has been wrapping the low-level Aten API.  I&amp;#x27;ve been keeping my eye on that project, and been really excited about it.</text><parent_chain><item><author>htfy96</author><text>What surprised me most is the elegance of C++ API. Compared to its equivalence in Python, the C++ version is almost the same if we discard the &amp;quot;auto&amp;quot; keyword [0]. As mentioned in the doc, they put user-friendliness over micro-optimizations, which also proves the expressiveness of modern C++ (at least when they want to prioritize user-friendliness!)
[0]: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;pytorch.org&amp;#x2F;cppdocs&amp;#x2F;frontend.html#end-to-end-example&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;pytorch.org&amp;#x2F;cppdocs&amp;#x2F;frontend.html#end-to-end-example&lt;/a&gt;</text></item></parent_chain></comment><story><title>PyTorch 1.0 is out</title><url>https://github.com/pytorch/pytorch/releases/tag/v1.0.0</url></story>