Well I would have thought that the basic logic shouldn't have been too hard to sort, Java is a C style language so other than having to sort out memory managment it should be straight forward, though labourious, to port it to C++ and make it work faster too.