Reactive Programming for Ruby & Python

173 views
Skip to first unread message

Jeremy W. Sherman

unread,
Oct 16, 2013, 1:16:05 PM10/16/13
to Book Club
Hey!

ReactiveCocoa not doing it for you, because Cocoa? No problem!

## Rx.{Rb,Py}
Microsoft ported their ReactiveExtensions (Rx) library to Ruby and Python:

https://rxrb.codeplex.com/
https://rxpy.codeplex.com/

These should make it easier to follow any documentation written for
ReactiveExtensions, which started as a .NET library implementing
functional reactive programming in that environment.

## Ruby
But you might like a more Ruby-native library. Let me introduce Frappuccino:

https://github.com/steveklabnik/frappuccino

You might also enjoy viewing a talk introducing Frappuccino by its author:

http://youtu.be/XlyQOLRiEPs

## Python
In Python land, I found Trellis, which bills itself as "event-driven
programming" and adopts more of a spreadsheet-cell model to dataflow
programming:

http://peak.telecommunity.com/DevCenter/Trellis

Not sure how "functional" (the F in FRP) it is after a brief glance,
but it's certainly reactive.

(A similar cell-based approach in Clojure is Javelin:
https://github.com/tailrecursion/javelin)
--
Jeremy W. Sherman
+1 (314) 488–0053
Software Engineer
Big Nerd Ranch

bignerdranch.com | twitter.com/bignerdranch | facebook.com/bignerdranch

Patrick Van Stee

unread,
Oct 16, 2013, 1:19:53 PM10/16/13
to bnr-bo...@googlegroups.com
> ## Rx.{Rb,Py}
> Microsoft ported their ReactiveExtensions (Rx) library to Ruby and Python:
>
> https://rxrb.codeplex.com/


This is some super weird Ruby code for what it's worth.

Ross Hambrick

unread,
Oct 17, 2013, 8:38:37 AM10/17/13
to bnr-bo...@googlegroups.com
There's also a RxJava which I may check out.

https://github.com/Netflix/RxJava

Jonathan Wallace

unread,
Oct 17, 2013, 10:31:36 AM10/17/13
to bnr-bo...@googlegroups.com
Steve presented on Frappucino a little at RubyConfIndia and it is super interesting.


Cheers,


On Thu, Oct 17, 2013 at 8:38 AM, Ross Hambrick <ro...@bignerdranch.com> wrote:
There's also a RxJava which I may check out.

https://github.com/Netflix/RxJava

--
- Voting Choices: http://j.mp/bnrbc-texts
- Chat: http://j.mp/bnrbc-chat
- Google Group: http://j.mp/bnr-bookclub
---
You received this message because you are subscribed to the Google Groups "Big Nerd Ranch Book Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bnr-bookclub...@googlegroups.com.
To post to this group, send email to bnr-bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/bnr-bookclub.



--
Jonathan Wallace

Reply all
Reply to author
Forward
0 new messages