I wrote an article in the Effective-ATS series on streamization and
stream-processing in parallel:

http://ats-lang.sourceforge.net/EXAMPLE/EFFECTIVATS/StreamPar/index.html

The package StreamPar should make it pretty straightforward to do many
common forms of file-processing in parallel. The StreamPar_binge example
in the above article does the following:

Given the name of a directory and a regular expression (PCRE), all the lines
in the files contained in the directory (and its subdirectories) are 
printed if they
match the given regular expression.

This is a very common programming pattern. If you ever want to write a 
program
that processes the files in a given directory, you can use it. And you get 
parallel
processing, too.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ats-lang-users+unsubscr...@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/35615282-bfd4-4044-9612-2cdfed2733b8%40googlegroups.com.

Reply via email to