bksys / scons (Re: win32 port)

Nagy Thomas tnagy256 at yahoo.fr
Tue Jan 10 15:38:52 CET 2006


> some notes about performance from 
>
http://scons.tigris.org/servlets/ReadMsg?list=users&msgNo=6450
> 
> "It almost feels like maybe I could just redo it in
> a marginally more
> efficient but less hackish language like Java and
> it'd take less time.
>  I could use groovy as the scripting language and
> keep the "good"
> ideas in scons but remove the inefficiency and waste
> of python (e.g.
> less a hashtable for every object). ..."

I have discussed in private with the author of that
email afterwards. Though the static typing (java) may
ease the development at first sight, there are some
things that are not possible to do in those languages
(like executing scripts, or getting a fast startup
time). I am myself a strong proponent of Ocaml, but
python is definitely a right tool for this particular
task and scons comes with many good concepts and code
already.

To illustrate this, i have made a (quite naive)
reimplementation of the algorithm that scans folders
for files: it takes about three seconds to scan or
replicate a project containing 1000 folders (of two
files each), not more than a minute. The weak typing
is a bad excuse for the wrong code.

Regards,
Thomas


/* Thomas Nagy */


	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


More information about the Kde-buildsystem mailing list