Which is easier? Translating from C++ or from Java...

Roy Smith roy at panix.com
Mon Mar 28 21:07:18 EST 2005


In article <1112043435.991699.11460 at g14g2000cwa.googlegroups.com>,
 "cjl" <cjlesh at gmail.com> wrote:

> Hey all:
> 
> I'm working on a 'pure' python port of some existing software.
> 
> Implementations of what I'm trying to accomplish are available (open
> source) in C++ and in Java.
> 
> Which would be easier for me to use as a reference?
> 
> I'm not looking for automated tools, just trying to gather opinions on
> which language is easier to understand / rewrite as python.
> 
> -cjl

My guess is you'd be better starting from the Java as a reference.  So much 
of C++ code tends to deal with low-level stuff like memory management and 
pointers.  At least in Java you won't have any of that stuff to wade 
through.



More information about the Python-list mailing list