My lightning talk at Go Stockholm meetup Aug 6th 2013

Post on 16-May-2015

1.238 views 1 download

Transcript of My lightning talk at Go Stockholm meetup Aug 6th 2013

The quest for “pipelineable” code

samuel.lampa@gmail.comtwitter.com/smllmp

Python Generator Functions

Generator Function in Go

Using it ...

More advanced example ...

Content of Generator function

Even better: Flow-based programming

● Invented at IBM in the 70's● Successfully used in many areas:

– Data analysis and ETL (e.g. Pentaho Kettle, Pypes). – Transactional business applications such as banking software

(originally FBP was made for it)– Digital signal processing is flow-based– Multimedia broadcasting (Kamaelia) – Simulations (LabVIEW). – Networking (AMQP is a similar approach)

● New things happening: NoFlo (Node.js) – http://noflo.org

GoFlow Network definition

Base Complementer Component

More info on Flow-based● Main website:

www.jpaulmorrison.com/fbp● Google+:

gplus.to/flowbased● GoFlow:

github.com/trustmaster/goflow