Tinier tinypy

I have downloaded the latest tinypy from SVN and compiled with dielibc. I posted the 'tinypy' executable here:


'tinypy' is now smaller, just 127KB. I examined the source, and very interesting, quite a lot of functions built-in. The core interpreter and some functions are written in C, but many functions are written in Python -- these are converted to bytecode and embedded in the 'tinypy' executable.

A very big chunk of that 127KB is composed of embedded bytecode. It is nice for the programmers to code in Python, and as I understand it the "proper" Python has lots of modules (libraries) written in Python -- however it is bad from the point of view of size and execution speed.

It would be a very interesting exercise to see how small tinypy could really become, if the functions were all written in C!

It is a plus point for me that tinypy is written in C, as I find that generally more readable than C++, and scanning through the code it looks well written and well commented.

Ha ha, my vaporware Woof could also have a specialised Python-lookalike, based on a modified tinypy (or whatever) ....and guess what it will be called ...wait for it... PupPy

Posted on 12 Nov 2008, 13:05


Posted on 12 Nov 2008, 14:40 by Raffy
shift in emphasis
A shift in emphasis, perhaps, from OS to programming/applications. But it's still the Puppy. :)

(Thanks for the unleashed CD - the mail just arrived.)

Posted on 12 Nov 2008, 16:15 by lwill
If it is still vaporware why not "Poof"?