HNHacker News
TopNewBestAskShowJobs

akaus

194 karma · joined December 21, 2010

submissionscomments
akaus··on Manipulating C++ Containers Functionally
There is STO library: http://github.com/lvv/sto

> E.g.: erase remove idiom

remove sub-string: string("abcd") - "cd"

> specifying begin() and end()

unary '+', '-' overloaded to return to begin()/end()

> when you mean the whole container, ...

Euler example in just one expression (with boost lambda): range(1000) | (!(_1%3) || !(_1%3)) | add

akaus··on Yet another AWK competitor - C++
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.