[rexim@uniq _temp]$ cat Main.java
public class Main {
public static void main(String args[]) {
int i;
for( i=0 ; i<10 ; i++ )
System.out.println(i);
}
}
[rexim@uniq _temp]$ cat pyt.py
#!/usr/bin/env python
if __name__=="__main__":
for i in range(10):
print i
[rexim@uniq _temp]$ time java Main
0
1
2
3
4
5
6
7
8
9
real 0m0.094s
user 0m0.040s
sys 0m0.013s
[rexim@uniq _temp]$ time ./pyt.py
0
1
2
3
4
5
6
7
8
9
real 0m0.011s
user 0m0.003s
sys 0m0.010s
[rexim@uniq _temp]$