DEV Community

Discussion on: Why Javascript of all languages?

Collapse
 
tux0r profile image
tux0r

For me, the main selling point of Javascript is simplicity and boot speed

In that case, you should literally prefer every language that's not Javascript. If only they ran in a browser!

Collapse
 
bgadrian profile image
Adrian B.G.

hate

Collapse
 
seraphicrav profile image
Ravaka Razafimanantsoa • Edited

Could you please elaborate ? I was only comparing Java with Javascript but I am interested in your thoughts.

Thread Thread
 
tux0r profile image
tux0r

Which is a comparison that does not make much sense in the first place.

Thread Thread
 
seraphicrav profile image
Ravaka Razafimanantsoa

Why are you so angry ?

Thread Thread
 
tux0r profile image
tux0r

??

Thread Thread
 
seraphicrav profile image
Ravaka Razafimanantsoa

I just don't understand you point of view and your answer does not give me more insight.

"Which is a comparison that does not make much sense in the first place" does not explain me anything. What I want to know is why, you think that any language other than Javascript is simpler and boots faster.

Thread Thread
 
tux0r profile image
tux0r

Because that's the case? Except Python, probably.

Thread Thread
 
seraphicrav profile image
Ravaka Razafimanantsoa

So if I say that the earth is flat, is it ?

I want arguments.

Thread Thread
 
tux0r profile image
tux0r

Please use benchmarks, they are the best arguments.

Thread Thread
 
seraphicrav profile image
Ravaka Razafimanantsoa • Edited

Ok cool. Let us stop there.

For those interested, here is a benchmark comparing the cold boot of serverless functions in different languages. It says, among many things, that Python starts faster than NodeJS which starts faster than Java.

Thread Thread
 
leoat12 profile image
Leonardo Teteo • Edited

My interest in serverless is one of the reasons I'm learning NodeJS, the cold start is incredibly smaller than Java. I think I read the article you linked or a similar one. Java ecosystem is too large to boot fast, I even think they are making a good job to boot as fast as it is booting right now. The hope right now is Java 9 modules.

Collapse
 
adam_cyclones profile image
Adam Crockett ๐ŸŒ€ • Edited

WASM that'l run anything in a browser. ๐Ÿคซ