By leonardo maffi
See my page of better software too
[For bugs and suggestions, my email on Home page]
From approximately the most recent update
Approssimativamente a partire dall'aggiornamento più recente
|
Name
|
Version
Date |
English
notes
Note in Italiano |
Needed
|
Screenshots
or demo output |
|
| audioactive.zip |
V1.6
May 13 2008 |
Some programs to compute terms of the Audioactive sequence.
Alcuni programmi per calcolare i termini della serie Audioattiva. |
D compiler + my D libs | ||
| triples.zip |
V1.0
may 1 2008 |
Given an array
of n integers, find all Pythagorean triples in the array, that is, three
elements such that a^2 + b^2 = c^2, in O(n^2) time. More info inside the
zip.
Dato un array di n interi, trovare tutte le terne pitagoriche nell'array, cioè elementi per i quali a^2 + b^2 = c^2, in tempo O(n^2). Altre informazioni dentro lo zip. |
DMD, Python, Psyco, GCC. | ||
| bintrees.d |
V1.0
Apr 20 2008 |
Few D language solutions to
practice problems regarding binary trees.
Alcune soluzioni in linguaggio D ad esecizi sugli alberi binari. |
D compiler + my D libs | ||
| slow_d.zip |
V1.0
Apr 8 2008 |
Few good examples
where the D language/DMD compiler, Phobos std lib are slow. More info inside
the zip.
Alcuni buoni esempi dove il linguaggio D, il compilatore DMD o la biblioteca standard Phobos sono lenti. Altre informazioni dentro lo zip. |
DMD V.1.x, Python 2.5+, Psyco, GCC, Javac. | ||
| bio_bench.zip |
V1.1
Mar 6 2008 |
Relative to this bioinformatics
benchmark suite. Full explanations and timings inside the zip.
Relativo a questo insieme di test di bioinformatica. Spiegazioni complete e risultati inclusi nello zip. |
DMD V.1.x, Python, Psyco, Javac, C++ compiler. | ||
| tree.d |
V1.0
Feb 25 2008 |
n-way trees
in D language, code designed to be simple and very short, even if not efficient.
Alberi a n-vie scritti nel linguaggio D. Codice pensato per essere semplice e molto breve, anche se non particolarmente efficiente. |
DMD V.1.x | ||
| enum_trees.d |
V1.2
Feb 17 2008 |
To generate postfix expressions
recursively, translated from Python
code by Ned Batchelder. The D version is about 10 times faster (and
this time Psyco can't help).
Per generare espressione postfisse ricorsivamente, tradotto da codice Python di Ned Batchelder. La versione D è circa 10 volte più veloce (e Psyco stavolta non aiuta). |
DMD V.1.x | See at the bottom of the source code | |
| pentos.zip |
V1.0
Jan 16 2008 |
Java code
by Stan
Chesnutt that uses the Dancing
Links algorithm by Knuth to solve the 3x20 Pentominoes puzzle, translated
to D (With DMD 1.025 it is about 50% slower than Java6).
Solutore del problema 3x20 coi pentomini, basato sull'algoritmo dei Dancing Links di Knuth, codice di Stan Chesnutt tradotto da Java a D. (Con DMD v1.0.25 è circa del 50% più lento della versione in Java6). |
DMD V.1.x | ||
| dyn_type.zip |
V1.0
Dec 30 2007 |
Some benchmarks on virtual functions,
run-time type checking, etc, in D. Detailed information inside the zip.
Alcuni test di velocità sulle funzioni virtuali, il controllo di tipi a runtime, ecc, in D. Informazioni dettagliate in Inglese sono contenute nello zip. |
DMD V.1.x. | ||
| string_join.zip |
V1.0
Nov 30 2007 |
Some string
join benchmarks in Python and D, with interesting results (into the zip).
Alcuni test di velocità di montaggio stringhe, in Python e D, con risultati interessanti (dentro lo zip). |
DMD V.1.x, Python 2.4+, Psyco | ||
| string_benchmarks.zip |
V1.0
Nov 27 2007 |
Some simple string opertation
benchmarks (results inside the zip), D Vs C++ STL.
Alcuni semplici test di velocità di operazioni su stringhe (risultati nello zip), STL C++ confrontato con D. |
DMD V.1.x, GCC | ||
| creal_tests.zip |
V1.0
Nov 14 2007 |
This is a
simple test of the relative speed of D (DMD) and C (MinGW), it's just the
sum of few complex numbers. The zip contain explanations and timings.
A simple confronto di velocità relativa del D (DMD) e C (MinGW), è una semplice somma di alcuni numeri complessi. Lo zip contiene spiegazioni e misure dei tempi. |
GCC/MinGW, DMD, Python | ||
| bintrees.zip |
V1.3
Nov 17 2007 |
Some binary trees benchmarks
(explanations inside the zip).
Alcuni test di velocità che lavorano su alberi binari (spiegazioni in Inglese dentro lo zip). |
Python V.2.4+, D, C compiler. | ||
| wide_finder.zip |
V1.0
Oct 27 2007 |
Wide
Finder log parsing in D and Python.
Wide Finder log parsing in D e Python. |
Python V.2.4+, D. V.1.20+ | ||
| BF2D.py |
V1.0
Sep 30 2007 |
Python script that converts
a Brainfuck program to D language.
Script Python che converte un programma Brainfuck in un sorgente D. |
Python V.2.4+, D. | ||
| bfid.d |
V1.0
Sep 18 2007 |
Simple Brainfuck
interpreter written in D language.
Semplice interprete Brainfuck scritto in D. |
D V.1.20 | ||
| vect_speed_test.zip |
V1.1
July 27 2007 |
Many speed
tests for the managemen of tiny vector with D programming language (compared
with Python/Psyco too).
Molti test di velocità per la gestione di array minuscoli col linguaggio di programmazione D (confrontati anche con Python/Psyco). |
D language V.1.0+,
Python. Psyco optional. |
||
| ctypes.zip ctypes.txt |
V1.0
Jun 2 2007 |
Some usage
examples of the ctypes standard library (it contains an article about ctypes
too).
Alcuni esempi di uso della biblioteca standard ctypes (contiene anche un articolo su ctypes). |
Python V.2.5+ | ||
| add_a_gram.zip |
V1.2
Mar 7 2007 |
Python solution
to a programming
riddle.
Soluzione Python ad un quiz informatico. |
Python 2.5, ShedSkin optional | ||
| zen_archery.py |
V1.1
Feb 24 2007 |
Python solution
to the Zen Archery riddle. More information inside the source code.
Soluzione Python al problema Zen Archery. Altre informazioni nel codice sorgente. |
Python V.2.5 | ||
| star_problem.py |
V1.1
Feb 24 2007 |
Python solution to the MagicStar
riddle. More information inside the source code.
Soluzione Python al problema MagicStar. Altre informazioni nel codice sorgente. |
Python V.2.5 | ||
| python99problems.zip |
V1.2
Feb 18 2007 |
My python
version of the 99
Prolog problems. It's a set of about 90 programming problems, I have
solved about 60% of them so far. I have changed the spirit of the game some.
Note that despite being here among my Junk Software, it contains some good
"production level" code, because I have refused to fall in the
temptation to use over-short functions.
La mia versione Python dei 99 Prolog problems. È un insieme di circa 90 problemi di programmazione, finora ne ho risolti circa il 60 %. Ho cambiato un po' lo spirito del gioco. Nota che nonostante sia qui nel mio Junk Software, contiene del codice a livello quasi 'professionale', perché mi sono rifiutato di cadere nella tentazione di usare funzioni troppo corte. |
Python V.2.5 | ||
| speed_mem_tests.zip |
V1.0
Feb 17 2007 |
Many speed and memory tests
for CPython. Some tests require some adaptation to your PC. They are very
simple, but studying them you can improve the speed of your Python (and
Psyco) programs a lot.
Molti test di velocità e di memoria per CPython. Alcuni test richiedono degli adattamenti al tuo computer. Sono molto semplici, ma studiandoli puoi aumentare molto la velocità dei tuoi programmi Python (e Psyco). |
Python 2.5, Psyco and gmpy optional. | ||
| sloane_search_plugin.zip |
V1.0
Feb 17 2007 |
Firefox/Mozilla
search plugin for the On-Line
Encyclopedia of Integer Sequences; unzip it and put the two files inside
the Mozilla Firefox\searchplugins
directory.
Plugin per Firefox/Mozilla per la ricerca nella On-Line Encyclopedia of Integer Sequences; unzippalo e metti i due file nella directory Mozilla Firefox\searchplugins. |
Mozilla or Firefox | ||
| cs_riddles.py |
V1.1
Feb 14 2007 |
Python solutions to few Computer
Science riddles.
Soluzioni Python di alcuni indovinelli informatici. |
Python V.2.5 | ||
| mode_finder.py |
V1.0
Feb 14 2007 |
Python module
to find the most frequent element of a iterable using a minimal amount of
memory. It works only if freq(mode) > seqlen/2.
Modulo Python per trovare l'elemento più frequente di un iterabile usando una quantità minima di memoria. Funziona solo se freq(mode) > seqlen/2. |
Python | ||
| xml_test1.py |
V1.1
Feb 7 2007 |
A small exercise of managing
XML from Python, now with dynamic dispatch too. More information inside
the source.
Un piccolo esercizio di gestione dell'XML da Python, ora anche con dispatch dinamico. Altre informazioni nel sorgente. |
Python, mx.DateTime | ||
| names_in_a_database.py |
V0.1
Jan 30 2007 |
Python solutions
(mostly not mine) for a Kurukshetra
problem.
Soluzioni in Python (per lo più non mie) di un problema di Kurukshetra. |
Python | ||
| symbols.py |
V1.0
Jan 23 2007 |
Python module that contains
a decorator, if applied on a function allows it to use undefined symbols,
simulating a kind of late binding. Probably it's just for experimental purposes.
Modulo Python che contiene un decorator, che se applicato ad una funzione, le permette di usare simboli indefiniti, simulando una sorta di late binding. Probabilmente è solo per scopi sperimentali. |
Python 2.5 | ||
| pyd_test.rar |
V0.1a
Dec 15 2006 |
My first try at using the D
language to create compiled extensions for Python. It's just an experiment,
it's not useful by itself, but it may be useful to see how it can be done.
The rarred file contains the Pyd package used to simplfy the extension creation.
Il mio primo tentativo di uso del linguaggio D per creare un modulo compilato per Python. È solo un esperimento, per cui non è utile di per sé, ma può essere utile per vedere come è stato fatto. Il file rarrato contiene il pacchetto Pyd utile per semplificare molto la creazione dell'estenzione. |
Python (possibly V.2.5), D compiler |
||
|
salad.zip |
V0.1a
Dec 15 2006 |
Small compiled library of utilities,
writtein with C with a big help from Scale.
It's mostly for string processing. The code contains bugs and it's
contains few comments, it's my first compiled module for Python, so it's
only for experimental purposes.
Piccola biblioteca di utility Python compilate, scritta in C con molto aiuto da parte di Scale. Per lo più per elaborare stringhe. Il codice contiene bug ed è poco commentato, è il mio primo modulo compilato per Python, per cui è solo per scopi sperimentali. |
Python 2.5 (or older versions if you compile it) |
||
|
Oct 2 2006
|
Basic Scheme and Python languages
implementation of rational numbers.
Semplice implementazione nei linguaggi Scheme e Python dei numeri razionali. |
Python, Scheme | |||
| file_len_partition.zip |
Aug 12 2006
|
Partition
problem for files on CDs managed with a random search.
Problema del partizionamento relativo a file su CD, affrontato con una ricerca casuale. |
Python | ||
|
Aug 5 2006
|
A speed test for string hashing
in some languages, with source code and timing results on my PC.
Un confronto di velocità tra hash in vari linguaggi, con codici sorgente e tempi risultanti sul mio PC. |
Python, Boo, ShedSkin, D | |||
[For bugs and suggestions, email on Home page]