On Fri, 29 Jun 2007, Giovanni Bajo wrote:
> On 29/06/2007 6.15, Troy Curtis Jr wrote:
> 
> >>> So we're going to need a working copy rewrite.  We knew that; in fact
> >>
> >>And this time (if you allow me my humble two cent) get it right and 
> >>cut the
> >>development time down to 1/10th by using a more evolved language than C.
> >>Python comes to mind, but anything would do.
> >
> >Yeah but he stated we needed to be faster!  C->python certainly
> >wouldn't facilitate that! :)
> 
> Speed has nothing to do with the language here, it's all about design and 
> algorithms. Mercurial is many times faster than Subversion in common 
> operations while being written in Python.
I agree with Giovanni's concept here.  Last year at the Subversion
Developer Summit at Google, several of us suggested writing at least
the command-line binaries in higher level language (Python in
particular came up repeatedly) for Subversion 2.0.
One thing of note -- not all of Mercurial is written in straight
Python.  It has several libraries written in C to handle certain hot
spots (base85, bdiff, and mpatch).  Interestingly enough, its revlog
FS backend is written in Python.
- application/pgp-signature attachment: stored
 
 
Received on Fri Jun 29 20:18:52 2007