llvm

Latest

  • NVIDIA open sources CUDA compiler, shares its LLVM-based love with everyone

    by 
    Michael Gorman
    Michael Gorman
    12.14.2011

    A few years back, Intel prognosticated that NVIDIA's CUDA technology was destined to be a "footnote" in computing history. Since that time, Jen-Hsun Huang's low level virtual machine (LLVM) based compiler has more than proven its worth in several supercomputers, and now NVIDIA has released the CUDA source code to further spread the parallel computing gospel. This move opens up the code to be used with more programming languages and processors (x86 or otherwise) than ever before, which the company hopes will spur development of "next-generation higher performance computing platforms." Academics and chosen developers can get their hands on the code by registering with NVIDIA at the source below, so head on down and get started -- petaflop parallel processing supercomputers don't build themselves, you know.

  • Dev Juice: Automatic Reference Counting

    by 
    Erica Sadun
    Erica Sadun
    09.22.2011

    Dear Dev Juice, I'm so confused. Is ARC Automatic Reference Counting or Automated Reference Counting? And is it Manual Retain and Release or Manual Reference Counting? Help a guy out. Paul W. Dear Paul, Let's separate those two questions because there's a cut-and-dried answer for the first, but not for the second. ARC refers to the new LLVM Objective-C automated memory management scheme. With ARC, you can focus more on your code semantics, leaving many of the memory issues to the compiler. Without a doubt ARC stands for Automatic Reference Counting. You can confirm this for yourself by visiting the official Technical Specification page at http://clang.llvm.org/docs/AutomaticReferenceCounting.html. As for the MRR/MRC issue, the use of Manual Retain and Release remains far more common than Manual Reference Counting. An informal survey of a popular developer forum shows that MRR cites outnumbers MRC ones by an approximate factor of three. That doesn't mean the question is settled. Both phrases are used (albeit not as acronyms) in the technical specification documents. Greg Parker of Apple uses MRC in this archived language development discussion list post. What do you use? Add your vote to this poll and leave a comment to explain why. %Poll-69262% Thanks, Tim Burks