News for hackers. Stuff that matters.
Re:Why I Program in Go by tocomment on Saturday January 05, 2013 @09:06PM (#5014950)
How did you write a go script faster than a python script? That sounds intriguing.
Re:Why I Program in Go by jlgreco on Saturday January 05, 2013 @09:56PM (#5015067)
The time it takes to 'go run' a go program is about the same as the time it takes to run a python program. If you are able to write Go code faster than Python code (that is the important "if". I can, some cannot. It's a personal thing.), then Go will be faster than python.
Re:Why I Program in Go by zaphar on Saturday January 05, 2013 @09:09PM (#5014956)
edit script in vim.

use :!go run %

It will compile and run the script so fast you will swear it was an interpreted language except it runs way faster than an interpreted language.

Re:Why I Program in Go by oinksoft on Sunday January 06, 2013 @05:24AM (#5015941)
You have to write it first for the Go example (:w | !go run %). For Python and most interpreted languages you can simply do :w !python.