🔊 In this video we test the speed of programming languages:
And at the end we created a ranking with Awk.
Watch the video
The video is in Brazilian Portuguese, but you can use subtitles and translate into your language.
Code of Languages
01. SHELL SCRIPT vim sh.sh
- Run:
sh sh.sh
- Test:
time sh sh.sh
02. PHP vim php.php
- Run:
php php.php
- Test:
time php php.php
03. JAVASCRIPT vim js.js
- Run:
node js.js
- Test:
time node js.js
04. RUBY vim ruby.rb
- Run:
ruby ruby.rb
- Test:
time ruby ruby.rb
05. PYTHON vim python.py
- Run:
python python.py
- Test:
time python python.py
06. JAVA vim java.java
- Run:
javac java.java && java java
- Test:
time java java
07. GO vim go.go
- Run:
go build go.go && ./go
- Test:
time ./go
08. C++ vim cpp.cpp
- Run:
g++ cpp.cpp && ./a.out
- Test:
time ./a.out
09. RUST vim rust.rs
- Run:
rustc rust.rs && ./rust
- Test:
time ./rust
10. C vim c.c
- Run:
gcc c.c && ./a.out
- Test:
time ./a.out
Peace!
cpp
c
python
java
php
ruby
go
javascript
rust
shellscript
Marcos Oliveira
Software developer