Sorry, but that looks like either
a) BLASSIC is very poorly implemented (i don't know it, but i don't
b) Your code is buggy. I guess you aren't an experienced programmer
yet (not meant offensive), so i'd first try to check your
algorithm. I wouldn't expect more than, lets say, factor 100
from a fast compiled language versus a slow interpreted language,
and perhaps factor 5 to 10 in memory usage.
That may sound much, but NO language will calculate something like
for a=0 to 9 ! level 1
for b=0 to 9 ! level 2
for t=0 to 9 ! level 20
quickly, because its calling "do something"
Say we have a CPU with 4 Ghz, 1 cycle per instruction (will be slower
in reality) , and only 1 instruction per "do something" without any time
for the loop counting, that would still be
/ 4.000.000.000 Instructions per Second
25.000.000.000 Seconds = 792 years
Well, if you didn't even like no-line-numbers, i'd say no chance with
JAVA. Java enforces some advanced things like object orientation that
are pretty much beyond basic.
C is ok but allows starter to make some pretty bad errors.
My personal favourite would be Freepascal (or Delphi if you find
a magazine with a free version on a CD).
For a first impression, i'd suggest having a look at some of the
source codes on my language comparison site :
and check if some language suits you.