background preloader

The LLVM Compiler Infrastructure Project

The LLVM Compiler Infrastructure Project
Related:  qtpie

Scythe Statistical Library Building Applications for iPhone with Adobe Flash CS5 | Adobe CS Aditya Bansod – Adobe now makes it possible to create applications for the Apple iPhone using the Adobe Flash CS5. You heard right: We’re really excited to bring this new capability to Flash designers and developers—the ability to target the iPhone with ActionScript 3 projects. As you know, the Apple iPhone is one of the best selling consumer electronic devices of all time, and the fastest selling smartphone ever. The popularity of the device among developers and consumers created an explosion of over 85,000 applications that captured the attention of consumers around the world. Flash developers told us how eager they were to create apps for the App Store, so we sought a way to make it easy for our community to bring their knowledge and creative talents there. Learn how Adobe is working to bring Adobe AIR development out of the desktop and onto a mobile phone near you. How it all works We enabled this by using the Low Level Virtual Machine (LLVM) compiler infrastructure.

The problem-solving process in dynamic vs. static languages This post is about why not to used static languages. It will outline the creative process used when starting to attack a problem and implementing its solution in code, and why that very process is hindered greatly by static languages. You know what I mean, when I say static languages (Java, Scala, C++, et.c.). I know that I've read about similar ponderings to these on the web earlier but a) I can't find them right now and b) It struck me anew on a personal level when I tried to understand why I work so much quicker when developing code in a dynamic language (especially JavaScript). The dynamic development process When I start to formulate a solution to a problem in JavaScript, I focus on the algorithm, on the classes that operate on the data and their methods - on the flow of function calls between different parts of the system I build. This lets me stay 'in the zone' and focus on the problem I'm trying to solve. The first barMethod argument is an object. The static development process

LLVM Un article de Wikipédia, l'encyclopédie libre. Caractéristiques[modifier | modifier le code] Compilation[modifier | modifier le code] Jusqu'à la version 2.9, LLVM offrait une compilation C/C++ et ObjectiveC via LLVM-GCC. Représentation du code[modifier | modifier le code] LLVM offre un ensemble d'instructions indépendant de tout langage et de tout système. Notes et références[modifier | modifier le code] La publication de la version 3.3 : Liens externes[modifier | modifier le code] MyHDL Features of MyHDL include: The ability to generate VHDL and Verilog code from a MyHDL design.[2]The ability to generate a testbench (Conversion of test benches[3]) with test vectors in VHDL or Verilog, based on complex computations in Python.The ability to convert a lists of signals.[4]The ability to convert output verification.[5]The ability to do Co-simulation with Verilog.[6]An advanced datatype system, independent of traditional datatypes. MyHDL's translator tool automatically writes conversion functions when the target language requires them. MyHDL is developed by Jan Decaluwe.[7] Conversion Examples[edit] Here, you can see some examples of conversions from MyHDL designs to VHDL and/or Verilog.[8] A small combinatorial design The example is a small combinatorial design, more specifically the binary to Gray code converter: def bin2gray(B, G, width): """ Gray encoder. You can create an instance and convert to Verilog and VHDL as follows: The generated Verilog code looks as follows:

John Nack on Adobe: Sympathy for the Devil Sympathy for the Devil In the last couple of years, it has become trendy to bash the Adobe Flash Player. I need to say a few things on that subject. First, let’s be very clear: I’m not on the Flash team. I came to Adobe ten years ago to build an open standards (SVG)-based Web animation tool. Flash is flawed, but it has moved the world forward.Open standards are great, but they can be achingly slow to arrive.Talk of “what’s good for standards is bad for Adobe” is misinformed nonsense.Flash will innovate or die. Let’s be clear: It’s fine to say that Flash is flawed; it is. Macromedia was the only company that delivered truly ubiquitous (99% penetration) video playback. All these years later, we still don’t have a standard, browser-native alternative, much less one that’s achieved widespread viewership. I don’t doubt that some video standard will eventually emerge & make its way into most if not all browsers. Maybe that sounds harsh, but I find the Flash-bashing tedious and hollow.

Jt7.0 - Java Design Pattern Framework for Android - TheServerSide.com Jt7.0 has been released. Jt is a design pattern framework for the rapid implementation of Java and Android applications. Jt implements many well-known patterns including Data Access Objects (DAO) and GoF design patterns. The framework addresses the following goals and requirements: A) The design pattern framework implements and/or facilitates the implementation of well-known design patterns like GoF design patterns. B) The framework architecture is based on a messaging design pattern (MDP): framework objects are able to interchange information and perform computations by sending, receiving and processing messages. C) The framework lego/messaging architecture provides transparent access to remote components: remote framework objects is treated as local objects. D) The framework provides transparent integration with other technologies via framework adapters, proxies and the implementation of related design patterns. For additional information please refer to the following URLs:

Clang Static Analyzer Mapping Objects to Relational Databases: O/R Mapping In Detail Most modern business application development projects use object technology such as Java or C# to build the application software and relational databases to store the data. This isn’t to say that you don’t have other options, there are many applications built with procedural languages such as COBOL and many systems will use object databases or XML databases to store data. However, because object and relational technologies are by far the norm that’s what I assume you’re working with in this article. If you’re working with different storage technologies then many of the concepts are still applicable, albeit with modification (don’t worry, Realistic XML overviews mapping issues pertaining to objects and XML). Table of Contents 1. When learning how to map objects to relational databases the place to start is with the data attributes of a class. It can make it easier to think that classes map to tables, and in a way they do, but not always directly. For now, let’s keep things simple. 2.

anic - Project Hosting on Google Code anic is the reference implementation compiler for the experimental, high-performance, implicitly parallel, deadlock-free general-purpose dataflow programming language ANI. Portably written using the GNU toolchain, anic works on all of the popular operating systems, including *nix, Mac OS X, and Windows (via Cygwin). The project is free and open; you can get a copy of the anic source anytime: The Fast Track Want to get started with ANI programming right away? Got burning philosophical questions? Have something to say? Want to know more about the project? The Quirks ANI is probably unlike any programming language you've encountered; it does away with state, variables, commands, stacks, and memory itself, as we know it. Crazy? Hello, World! The language couldn't possibly be simpler... "Hello, World!" Dining Philosophers Problem - A Complete, Well-Written, Correct Program ...or any more powerful... getChopsticks = [--> ?] numPhils = 5; (for a more detailed explanation of why this works, see the FAQ)

build AST from ObjC code written by Nico Weber Introduction From clang’s website: The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler. What does that mean, and why should you care? Once you have an AST of a program, you can do many things with the program that are hard without an AST. Front-ends have existed for decades. So, do you have a large C code-base and want to create automated non-trivial refactorings? This tutorial will offer a tour through clang’s preprocessor, parser, and AST libraries. A short word of warning: clang is still work in prograss. Clang works on all platforms. Getting started There is no official release of clang yet, you have to get it from SVN and build it for yourself. svn co llvm cd llvm PATH=$PATH:/Applications/Graphviz.app/Contents/MacOS . If you call . Note that this does a debug build of llvm and clang. You can find more information in clang’s official getting started guide. .

Sousveillance Culture panel at Conflux 2007 Sousveillance Culture panel with Amy Alexander, Jill Magid and Hasan Elahi, moderated by Marisa Olson Saturday, September 15, 2007 2:30pm - 4:00pm Luna Lounge 361 Metropolitan Avenue Brooklyn, NY 11211 718.384.7112 Rhizome is organizing a panel in conjunction with Conflux, on sousveillance, the practice of watching from below (sous-) rather than above (sur-). A diverse group of artists whose work engages surveillance will explore the cultural and political implications of sousveillance, which tends to be discussed as empowering when manifest as a "taking-back" of cameras or the rising-up of "little brother," but which also unfolds in an era of increased self-surveillance, encouraged by both the government and the culture of participatory and 'transparent' media. Panelists include artists Amy Alexander, Jill. Participant Bios: Amy Alexander is a software and performance artist and VJ. Moderator Marisa Olson is Rhizome's Editor & Curator and a practicing artist. About Rhizome www.rhizome.org

Related: