Point to you. # A big file with no '#' in it. andrew@grog:~$ wc -l src/big_h.csv 99975001 src/big_h.csv
andrew@grog:~$ time fgrep '#' < src/big_h.csv real 0m16.138s user 0m0.758s sys 0m4.146s andrew@grog:~$ time perl -n -e 'print if /#/'< src/big_h.csv real 0m32.027s user 0m29.367s sys 0m2.400s -Andrew On Sat, Mar 15, 2014 at 7:19 AM, Gyepi SAM <[email protected]> wrote: > On Fri, Mar 14, 2014 at 12:42:39PM -0400, [email protected] wrote: >> From what I can see GO is purely compiled down to object code and linked >> into static binaries. IMHO Perl, as an interpreted language, is doing >> *super* to be *only* twice the runtime of Go! Maybe others have a better >> handle on this. > > Yes, 2x is not bad. Generally, comparing language speed doesn't get you far > unless you can use any language. If you're not doing green field programming, > there's generally enough of an investment in a particular language (or set of > languages) > that the mountain is hard to move. > > In most cases (web services), a slower language just means more servers. > Hardware will get you surprisingly far before you are forced to really think > about scalability. > When that happens, you need more from your language than mere speed. > > -Gyepi > > _______________________________________________ > Boston-pm mailing list > [email protected] > http://mail.pm.org/mailman/listinfo/boston-pm _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

