Add rust and perl

This commit is contained in:
BBaoVanC 2020-11-26 21:24:20 -06:00
parent 7ecf637b86
commit 19624452a5
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 10 additions and 0 deletions

3
perl.pl Normal file
View File

@ -0,0 +1,3 @@
for (my $i = 0; $i < 6; $i++) {
print "Hello world, $i\n";
}

5
rust.rs Normal file
View File

@ -0,0 +1,5 @@
fn main() {
for i in 0..6 {
println!("Hello world, {}", i);
}
}

View File

@ -1,7 +1,9 @@
Language,Time (ms)
C,1
Rust,1
POSIX Shell,1
Bash,2
Perl,2
Python,10
Go build,1
Go run,92

1 Language Time (ms)
2 C 1
3 Rust 1
4 POSIX Shell 1
5 Bash 2
6 Perl 2
7 Python 10
8 Go build 1
9 Go run 92