Hacker News new | ask | show | jobs
by kukkamario 608 days ago
Node is so slow to start that python script can complete before Javascript even begins to execute.
1 comments

For extremely simple scripts maybe. I get around 70 ms difference in startup time.

  $ time python3 -c "print('Hello world')"
  Hello world

  real 0m0.017s

  $ time node -e "console.log('Hello world')"
  Hello world
  
  real 0m0.084s