Mercurial in pure Java
William Dode
wilk at flibuste.net
Sat Oct 3 15:38:39 UTC 2009
On 02-10-2009, Andrey Somov wrote:
> Python has heapq module which implements "the priority queue algorithm."
> Why to bother to implement it in Python ? Why not to take it from Java ?
> It is simple:
>
> - download and install Java
> - install library which implements the priority queue algorithm
> - take care that the Java version matches the one required by the library
> - write a small Java program for the interface
> - launch Java from Python and execute the program
> - parse the output taking care that another version of Java or the
> library may change it
> - get the result and use in your Python program
>
> Is it the way to go ? (I hope you can see the symmetry with Python and
> Mercurial)
I use postgresql from python, and i never thought about porting it to
python. There is a pure python driver for this but i even don't use this
one.
--
William Dodé - http://flibuste.net
Informaticien Indépendant
More information about the Mercurial
mailing list