Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 3.73 KB

README.md

File metadata and controls

75 lines (63 loc) · 3.73 KB

PiCo: High-Performance Data-Analytics Pipelines in C++

Travis Build Status License: LGPL v3 GitHub tag GitHub Issues

PiCo (Pipeline Composition) is an open-source C++11 header-only DSL for high-performance data analytics, featuring low latency, high throughput, and minimal memory footprint on multi-core platforms.

Take a look to the word-count code to see how easy is writing a PiCo pipeline!

Report bugs + get help

https://github.com/alpha-unito/pico/issues/new

Build and run tests

The following steps require cmake >=3.1 as build system.

Get PiCo:

git clone https://github.com/alpha-unito/pico.git pico

The current implementation is based on FastFlow as runtime system. Get it and a link it:

git clone --single-branch -b fastflow3 https://github.com/fastflow/fastflow.git /path/to/fastflow
ln -s /path/to/fastflow/ff pico/

⛑️ A better solution for including FastFlow as dependency is under development!

Build and run the tests: (and examples)

cd pico
mkdir build && cd build
cmake .. -DPICO_ENABLE_UNIT_TEST=ON
cmake --build .
ctest

Use PiCo in your code

Good news! PiCo is header-only, you do not need to build/link any library to use it in your code. Just include PiCo headers at the beginning of your source file:

#include "pico/pico.hpp"

and use good ol' compiler flags to include PiCo (and FastFlow) when compiling your app:

git clone https://github.com/alpha-unito/pico.git /path/to/pico
git clone --single-branch -b fastflow3 https://github.com/fastflow/fastflow.git /path/to/fastflow
g++ -I/path/to/pico/include -I/path/to/fastflow app.cc

⛑️ A modern CMake-based solution for linking PiCo (with its dependencies) is under development!

Examples

The examples folder contains some proof-of-concept applications, showing the PiCo user experience:

PiCo Team

Maurizio Drocco maurizio.drocco@pnnl.gov (maintainer)
Claudia Misale c.misale@ibm.com (creator + co-maintainer)
Alberto Riccardo Martinelli alberto.martinelli@edu.unito.it (co-maintainer)

Contributors

Marco Aldinucci aldinuc@di.unito.it (boss)
Massimo Torquati torquati@di.unipi.it (FastFlow maintainer)
Guy Tremblay tremblay.guy@uqam.ca (DSL wizard)

How to cite PiCo

C. Misale, M. Drocco, G. Tremblay, A. R. Martinelli, and M. Aldinucci, "PiCo: High-Performance Data Analytics Pipelines in Modern C++," Future Generation Computer Systems, Volume 87, 2018.
PiCo_DOI_badge PiCo_BibTexview PiCo_BibTexdownload PiCo_RISdownload