Hadoop. Hadoop. Cocos2d for iPhone. Distributing Python Modules — Python v2.7.2 documentation. Cx_Freeze. About cx_Freeze cx_Freeze is a set of scripts and modules for freezing Python scripts into executables, in much the same way that py2exe and py2app do. Unlike these two tools, cx_Freeze is cross platform and should work on any platform that Python itself works on. It supports Python 2.7 or higher (including Python 3). Download/Install Version 5.0.2, released May 20, 2017 Install by issuing the command. Kay Hayen Personal Blog. Split out the nuitka.nodes.Nodes module into many topic nodes, so that there are now nuitka.nodes.BoolNodes or nuitka.nodes.LoopNodes to host nodes of similar kinds, so that it is now cleaner. Split del statements into their own node kind, and use much simpler node structures for them.
The following blocks are absolutely the same: del a , b . c , d del a del b . c del d So that's now represented in the node tree. Del a , ( b . c , d ) This one gives a different parse tree, but the same bytecode. Turned the function and class builder statements into mere assignment statements, where defaults and base classes are handled by wrapping expressions. Refactored the decorator handling to the tree building stage, presenting them as function calls on "function body expression" or class body expression". @some_classdecorator class C : @staticmethod def f (): pass. Kay Hayen Personal Blog. Split out the nuitka.nodes.Nodes module into many topic nodes, so that there are now nuitka.nodes.BoolNodes or nuitka.nodes.LoopNodes to host nodes of similar kinds, so that it is now cleaner. Split del statements into their own node kind, and use much simpler node structures for them. The following blocks are absolutely the same: del a , b . c , d.
Python speed breakthrough with Shed Skin [Archive] Kripkenstein November 21st, 2008, 10:11 PM ShedSkin compiles Python ( making it **much** faster - one example is ~200 times faster, just 7 times slower than hand-coded C++, which is amazing. - "Shed Skin is an experimental compiler, that can translate pure, but implicitly statically typed Python programs into optimized C++. " That's one worthy project to contribute to for someone with time. Shed Skin is looking for new developers and accepts code which does not compile (aka bug reports). It's an interesting project, but I'm more hopeful for PyPy ( We Don't Need No Stinking Garbage Collection - Journal - level of indirection. iPhone developers are sometimes called names or excluded from polite circles for not having Garbage Collection.
Recently I gave a presentation at the London iPhone Developers Group meeting which covered this matter from a few angles - including some techniques of my own. There was enough interest that I thought I should write it up in a more widely distributed format - where I could also expand on some points I glossed over due to time constraints (it was 20 minute slot). What's that Smell? So what's the stink about? Well, if you develop for the iPhone you're going to have to use Objective-C (at least for some of your code - e.g. the UI). Most languages in common use today have Garbage Collection. So why no GC on the iPhone? Remembering to forget your memory usage Consider this typical snippet of Objective-C code: NSString* str = [[NSString alloc] initWithFormat: @"One: %d", 1]; [str release]; OCPtr - a Smart Pointer for Objective C - Journal - level of indirection.
In my last post I covered why we might want Garbage Collection on the iPhone, some reasons why we don't have it, and how the same problem is solved in C++.
I then hinted that we might be able to bring the same C++ goodness to Objective-C - if we allow ourselves to use Objective-C++. In this post I'm going to introduce my own solution. Say hello to OCPtr Rather than dive into the implementation, let's look at usage - and how it addresses our memory management needs. Let's start with our first example - allocating an NSString. OCPtr<NSString> str = [[NSString alloc] initWithFormat: @"One: %d", 1]; The first thing to notice here is that instead of declaring our type as NSString* we declare it as OCPtr<NSString>.
Bwhite/hadoopy - GitHub. PyPy. AS3, Convert Python Code to Flex AS3 with flex-pypy *drawlogic. I have officially been sucked into the Python vortex.
I recently have really been digging IronPython, Jython and good old plain Python but have not ventured here yet. Google (They employ Guido), Microsoft (IronPython) and Sun (Jython) are all becoming infected pythonistas as well. But this is just too cool, Python to AS3 code with flex-pypy. This project is very young but could be fun, source at Google Code. Haxe has a similar premise where it can compile to Flash6-9 versions of actionscript 2-3 which makes for a system with better reach.
Check out this snippet pulled from here (click to see sample game) Tags: ACTIONSCRIPT, ACTIONSCRIPT3, AS3, CODE, FLASH, FLEX, flex-pypy, pypy, PYTHON.