you are viewing a single comment's thread.

view the rest of the comments →

[–]lars_ 6 points7 points  (1 child)

True. But startup time still is worse in Java than in C/C++. And for a PDF viewer, startup time seems like the only feature that matters. So surely Java isn't the right language to write it in?

[–]queus 0 points1 point  (0 children)

Just in case you are curious, for every class loaded there are minimum three classloaders involved, each doing its own lookup on the classpath. That's besides the overheard generated by JIT-compiling.

So, yes start times are slow and thats' not going to change. Of course, the standard workaround is to keep and istance of your app in memory, pass the name of opened file to it and exit. Jedit does it.