4 ms·
Go has the fastest build/run cycle I've seen. You can usually compile compile to a binary and run it quicker than it takes a python runtime to start up. It's to
by zik 12y ago
Go has the fastest build/run cycle I've seen. You can usually compile compile to a binary and run it quicker than it takes a python runtime to start up. It's totally viable to use Go as a scripting language while compiling to binaries from source.
- digisign 12y agoYou may have a very long python-path and/or script loading a lot of modules initially if it is taking so long to start up. For example, in a recent script I deferred loading the requests module and startup improved a few tenths of a second. Rinse, repeat.
- Scramblejams 12y agoI mostly work in Python but I had a similar scripting-like experience during my Go project -- with a small codebase, the time it spent compiling was barely perceivable, if at all. Very impressive, and shows you what's possible. Semi-relatedly, the downvoting around here has gotten completely out of control. It's sad, what's happened to HN.
- codygman 12y agoI'm guessing you've never used Lisp/Slime?