5 ms·
Go can `go run script.go` without more ceremony than that. But there are other tradeoffs: https://utcc.utoronto.ca/~cks/space/blog/sysadmin/SysadminGoVsPython
by earthboundkid 6y ago
Go can `go run script.go` without more ceremony than that. But there are other tradeoffs:
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/SysadminGoVsPython https://utcc.utoronto.ca/~cks/space/blog/sysadmin/SysadminGo...
- jfkebwjsbx 6y agoThat compiles and then runs the resulting binary, so you still need the Go infrastructure and the latency. Go is without doubt a better candidate for scripting than things like Rust or C++, but it cannot compete with the ubiquitous and featureful Python or built-in Unix tools (even more ubiquitous, but less featureful and quite dated).
- mmargerum 6y ago> Go infrastructure Install go. Just Go > latency Impercetible I've written plenty of bash and python. Go is just better for me, if for no other reason, than the entire SDK is in my head as is the language
- cloverich 6y agoTo be clear, you need the infrastructure the first time you run it. If you run it _more_ than once, it will both start and execute faster than python.