Ok I am coming from a C based world here but when I started learning about Java I was shocked to see how much RAM and CPU cycles it used even when doing very simple tasks.

It takes 17 MB of ram and around 36 CPU cycles just to write "Hello" in an applet!

When I was working with C that would only take 2 MB of ram and around 16 CPU cycles.

Is there any way to make Java faster? Otherwise I am going to be stuck when I make more complex programs. :-/