[pypy-dev] Re: neat academic paper on software prototyping and productivity.

Harald Massa pypy.12.ghum at spamgourmet.com
Tue Feb 10 10:16:13 CET 2004


Laura Creighton <lac <at> strakt.com> writes:

> was only pseudo-code, requirements.  No. Working Haskell.  His version
> was faster and done more quickly than other versions, written in more 
> standard languages like Ada and C++.
>
> VHLL rock.
> 
> Laura

You're more than right, Laura. Do you also know the Python-Version of the
problem? It's even shorter

import timemachine

t=timemachine.timemachine()
t.inventbeforeneeded("module","AEGIS")
t.commit()


import AEGIS

a=AEGIS.aegis("input.data")

a.analyse()

for it in a.output():
    print it

9 lines of code compared with 85 of Haskall is still an improvement, isn't it?


Harald







More information about the Pypy-dev mailing list