4 ms·
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
by zaphar 14y ago
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.
- oinksoft 14y agoYou have to write it first for the Go example (:w | !go run %). For Python and most interpreted languages you can simply do :w !python.