Yes but, technically c and c++ is faster If you compile the code using -02 or -03 flag For C code: ``` gcc -O2 your_file.c -o output_file gcc -O3 your_file.c -o output_file ``` For C++ code: ``` g++ -O2 your_file.cpp -o output_file g++ -O3 your_file.cpp -o output_file ```
I think java is a one of the fastest language
c rust and java are top 3
Yes but, technically c and c++ is faster
If you compile the code using -02 or -03 flag
For C code:
```
gcc -O2 your_file.c -o output_file
gcc -O3 your_file.c -o output_file
```
For C++ code:
```
g++ -O2 your_file.cpp -o output_file
g++ -O3 your_file.cpp -o output_file
```
I tested Kotlin vs Java with while loop. When i print something on each time, Kotlin is fast but java has too slow 😅😅.
😂
Bro I think it’s all depend on the configuration and specification of the system
@TheAvinashCode No bro. It's depends on piece of Codes and languages.
I think c and c++ should be fast
Yes they are if you compile them using -02 or -03 flag
For C code:
gcc -O2 your_file.c -o output_file
gcc -O3 your_file.c -o output_file
For C++ code:
g++ -O2 your_file.cpp -o output_file
g++ -O3 your_file.cpp -o output_file