DEV Community

Discussion on: why are there so many programming languages when they all do the same thing?

Collapse
abhinav1217 profile image
Abhinav Kulshreshtha • Edited on

There is a compiler explorer godbolt.org/ , Write Hello world or something similarly small on multiple language and see what kind of bytecode is generated. If you know little bit of assembly, you can go through it and see how different language and compiler works. C program on GCC and on LLVM has different output for same program, there you can see how each compiler has different approach to the problem of compiling to machine code.

There is a youtube channel ContextFree there he talks about how different programming language works, why they were created, what problem area they focus on, etc.