My lightning talk at Go Stockholm meetup Aug 6th 2013

10

Click here to load reader

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

Page 1: My lightning talk at Go Stockholm meetup Aug 6th 2013

The quest for “pipelineable” code

[email protected]/smllmp

Page 2: My lightning talk at Go Stockholm meetup Aug 6th 2013

Python Generator Functions

Page 3: My lightning talk at Go Stockholm meetup Aug 6th 2013

Generator Function in Go

Page 4: My lightning talk at Go Stockholm meetup Aug 6th 2013

Using it ...

Page 5: My lightning talk at Go Stockholm meetup Aug 6th 2013

More advanced example ...

Page 6: My lightning talk at Go Stockholm meetup Aug 6th 2013

Content of Generator function

Page 7: My lightning talk at Go Stockholm meetup Aug 6th 2013

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

Page 8: My lightning talk at Go Stockholm meetup Aug 6th 2013

GoFlow Network definition

Page 9: My lightning talk at Go Stockholm meetup Aug 6th 2013

Base Complementer Component

Page 10: My lightning talk at Go Stockholm meetup Aug 6th 2013

More info on Flow-based● Main website:

www.jpaulmorrison.com/fbp● Google+:

gplus.to/flowbased● GoFlow:

github.com/trustmaster/goflow