DEV Community

Discussion on: What makes languages "fast" or "slow"?

Collapse
 
eljayadobe profile image
Eljay-Adobe

Scripting style languages — like Python, Ruby, Lua, JavaScript — are fast to modify-and-run. They don't have the disadvantage of compile and link steps. (The engine will usually on-the-fly tokenize or bytecode the program, and then run that in the scripting engine.)

Compiled style languages — like C++, C, D, Rust — are fast to run because they are compiled to native code. But have a slower turn-the-crank because of the compile and link steps, and arguably are fussier languages which makes them slower to develop in as well.

Java and C# hit the sweet spot of combining all the disadvantages of a scripting style language, with all the disadvantages of a compiled style language. (Kidding! Poking the bear. I like both Java and JVM, and C# and .NET.)

Collapse
 
vibalijoshi profile image
vibalijoshi

Ahh I love the style of your writing! Very well explained in brief words ( better than I could tbh!)

Collapse
 
ancienthello profile image
AncientHello

This is why I use Go.

It compiles lightning fast. It runs lightning fast.

I've never had fuss around to get someones project to compile. It just works. And it is quick.

The best of both worlds.

Collapse
 
vibalijoshi profile image
vibalijoshi

I need to try out Go soon 🔥🔥

Some comments have been hidden by the post's author - find out more