News for hackers. Stuff that matters.
Re:Yet another AWK competitor - C++ by hsmyers on Sunday May 01, 2011 @11:53AM (#2503203)
A C++ Repl while really interesting and nice and all that--- does not an AWK make. Given the examples shown, you can do some AWKish things, but so can Perl or Lua or whatever... Tis cool though, gotta give it that!
Re:Yet another AWK competitor - C++ by alttab on Sunday May 01, 2011 @11:55AM (#2503206)
Well, it also probably compiles a full C++ program before running it. So performance would be terrible. I think this was made as tongue-in-cheek with all of the ruby awk stuff we've seen lately.

What I take out of this is "the unix command line tools are there, learn them and use them."

Re:Yet another AWK competitor - C++ by akaus on Sunday May 01, 2011 @12:08PM (#2503232)
Interactive performance? SCC compilation is about 1 sec on my old laptop with warm cache. Good enough for command line tool. Or do you mean run time performance? Run time probably faster than anything else.
Re:Yet another AWK competitor - C++ by anon_d on Sunday May 01, 2011 @11:10PM (#2504866)
[...] 1 sec [...]. Good enough for command line tool [...]

lol

Re:Yet another AWK competitor - C++ by lvv on Sunday May 01, 2011 @11:30PM (#2504945)
For interactive use - yes, it's good enough. For use in scripts - it's probably too slow. But you can use compiled binary. It is saved under /tmp/<user-name>-scc