I am working on a library for polynomial root finding (soon, more will follow on that on sciencemadness). The software is written in Java, but I also
make ports of the software to C, which is fairly easy (porting the other way around is more cumbersome).
However, I notice that my C ports consistently run slower than the Java ports. it hardly matters what software I port, but the C-code always runs
between 1.5 and 2 times slower than the Java code with exactly the same input.
|