Pelt mapping, Not modo, not lscm, not for sale

i’ve also been thinking about writing this as a java standalone. there’s a great frontend java app here:

http://www.processing.org

which i use from time to time to model some ideas. as a java app, it would be cross-platform which is another plus.

regards,
sunit

IMO Java is very slow. I think you’d be better using a cross platform GUI toolkit like Qt and keeping the base code in C. You can also use wxwidgets ( http://www.wxwidgets.org/ ).

IMO Java is very slow. I think you’d be better using a cross platform GUI toolkit like Qt and keeping the base code in C. You can also use wxwidgets ( http://www.wxwidgets.org/ ).[/quote]

Java is only slow if the programer does not know what they are doing. Java is very fast if a thoughtful use of the code base is used

IMO Java is very slow. I think you’d be better using a cross platform GUI toolkit like Qt and keeping the base code in C. You can also use wxwidgets ( http://www.wxwidgets.org/ ).[/quote]

Java is only slow if the programer does not know what they are doing. Java is very fast if a thoughtful use of the code base is used[/quote]

It still runs under a virtual machine that has a lot of overheads. I agree some programs if written well can be fast but I’ve never seen a Java program run very fast at all. Azureus is an awesome application and has never crashed once during my using it for over two years but the GUI is very slow.

http://www.twistedmatrix.com/users/glyph/rant/python-vs-java.html

The thing is that doing UVunwrap with spring dynamics is a CPU intensive process and in general Java is an order of magnitude slower than C/C++. To quote the guy on that site “I originally thought of including C or C++ comparisons here, but the difference is truly laughable, especially with compiler optimisations”. My experience is the same. I had to program fast serach algorithms at university. Practically everyone in the class opted for Java but their code took minutes to finish while my C-based code took 10-20 seconds.

If the code is already in C then why rewrite in a slower language when all you need is a portable GUI? Plus if it uses OpenGL, Java isn’t the best choice with OpenGL being a C-based library. Also, interface code is a pain in the ass to write because it is so tedious so here you can get an interface builder:

http://wxglade.sourceforge.net/

with the advantage that Python code is much easier to write. Audacity uses wxwidgets.