Skip to content

Minimal Reactive attemptΒ #115

@tshort

Description

@tshort

Hi everyone, I threw together a basic package that does a type of Functional Reactive Programming. It generally follows the API that Reactive.jl uses. My reason for implementing it was to use with Sims to handle data flow. We have been using Reactive, but I wanted something more basic and something that runs more immediately.

https://github.com/tshort/ReactiveBasics.jl

In the one benchmark I have in this repo, it runs almost ten times faster than Reactive. On the flip side, it has fewer features. I also pinched some of the tests in Reactive.

So, my reason for bringing this up here is to see if there's any interest in using the code from my package in Reactive.jl. It uses closures heavily, so that probably limits use to Julia v0.5 and up.

The code I have is sufficient for my dataflow needs, but I know a lot of the folks using Reactive use it for GUI stuff, so the use cases are different. I don't know if the style of FRP used in ReactiveBasics is suitable for GUI use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions