News for hackers. Stuff that matters.
Re:HTTPie – A user-friendly CLI HTTP client by Myrmornis on Sunday December 01, 2019 @08:00AM (#21675259)
No, Python has never (last decade) had a startup time that is noticeable by humans when running CLI scripts, unless your CLI script is importing a large codebase. JVM languages are an example of languages which do start up too slowly to be attractive for CLI scripting. You are right that python can be horribly slow to import a large codebase, for example when starting a web server in a large django project.
Re:HTTPie – A user-friendly CLI HTTP client by kasey_junk on Sunday December 01, 2019 @08:49AM (#21675466)
AOT compilation has come back to JVM languages both on HotSpot and Graal. There are now lots of ways to remove JVM startup time penalties and most of them provide for startup times that are as fast as Python independent of code size.
Re:HTTPie – A user-friendly CLI HTTP client by asimpletune on Sunday December 01, 2019 @10:45AM (#21675966)
Does this apply to scala?
Re:HTTPie – A user-friendly CLI HTTP client by shakna on Sunday December 01, 2019 @11:43AM (#21676262)
Scala Native [0] gives you AOT via LLVM, so it isn't quite the same thing, but can, in some circumstances, significantly speed up your code.

[0] https://github.com/scala-native/scala-native

Re:HTTPie – A user-friendly CLI HTTP client by jonny383 on Sunday December 01, 2019 @09:02PM (#21679309)
Right, that makes sense. I did just test a couple of short Python programs

  $ time python3 test.py 
  Hello world

  real    0m0.020s
  user    0m0.020s
  sys     0m0.000s
Re:HTTPie – A user-friendly CLI HTTP client by chipaca on Sunday December 01, 2019 @06:24PM (#21678517)
FWIW we had to move away from python in the project I was working on because just waiting for the help took more than 15 seconds (IIRC) on a beaglebone black.