News for hackers. Stuff that matters.
Re:How Akka Streams can be used to process the Wikidata dump... by jimbokun on Tuesday June 23, 2015 @06:13PM (#9768188)
Could this example have been accomplished with awk and xargs just as fast, with same or less memory usage, in fewer lines of code?

Seems so to me after skimming the article, but maybe I missed an important advantage of using Akka Streams for this task?

Re:How Akka Streams can be used to process the Wikidata dump... by thelastnode on Wednesday June 24, 2015 @01:54AM (#9769897)
Yes, the initial parts of the example could be accomplished with awk and xargs, but as the article goes on to demonstrate, even doing something like printing every nth element would be difficult.

I think the intent was for this to be more of a demonstrative example, and with a more complex, evolving, real-world processing pipeline, Akka streams could be really useful.