Applet too heavyweight
in
Programming Questions
•
3 years ago
Hi,
I've been happily developing a visualization in Processing. Pretty happy with the result up until now, but less happy with the applet that is generated:
http://albatross.ripe.net/demo-area/maps-viz/2010-10-01/
I'd like to start using that applet as part of a web-based system, but am told now to go look for alternatives, since this won't give us acceptable performance for the users of this system. We need to be supporting the whole spectrum of OSes and browsers.
The problems with the applet is that it is very heavyweight (my boss told me it nearly burned a hole in his desk when he left it running overnight on his laptop), and doesn't run on all platforms (Mac OSX 10.5 , Firefox doesn't seem to work, safari does work on that platform if I make java run outside of the browser in 'java preferences').
I'm fairly new to Processing/Java programming (done a lot of other programming), so I'd like to know if the 'heaviness' and non-cross-platformness of the applet is caused by the java libraries I've included, the way I'm coding this, or if this is inherent to using Processing?
Thanks in advance,
Emile
PS: I'm not looking for people to debug my code for me, but pointers on how I could speed things up (or find out where to begin) are appreciated.
I've been happily developing a visualization in Processing. Pretty happy with the result up until now, but less happy with the applet that is generated:
http://albatross.ripe.net/demo-area/maps-viz/2010-10-01/
I'd like to start using that applet as part of a web-based system, but am told now to go look for alternatives, since this won't give us acceptable performance for the users of this system. We need to be supporting the whole spectrum of OSes and browsers.
The problems with the applet is that it is very heavyweight (my boss told me it nearly burned a hole in his desk when he left it running overnight on his laptop), and doesn't run on all platforms (Mac OSX 10.5 , Firefox doesn't seem to work, safari does work on that platform if I make java run outside of the browser in 'java preferences').
I'm fairly new to Processing/Java programming (done a lot of other programming), so I'd like to know if the 'heaviness' and non-cross-platformness of the applet is caused by the java libraries I've included, the way I'm coding this, or if this is inherent to using Processing?
Thanks in advance,
Emile
PS: I'm not looking for people to debug my code for me, but pointers on how I could speed things up (or find out where to begin) are appreciated.
1