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.
[ Parent
| on HN ]
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.