8000 GitHub - andrewlowndes/dynamic-rust: Reactive programming in Rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrewlowndes/dynamic-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactive programming in Rust

An example of declaratively defining values, their derivations and the automatic propagation of changes and disposal of values

Supports:

  • Wrap around a primitive 'value' with getters/setters
  • Lazy evaluation of 'derived' values and automated propagation of changes (pull)
  • 'Reactive' functions that are called when watched values are changed (push)
  • Automated cleanup - thanks RAII and Reference counters :)

Using

This code is just experimental and only meant just for looking at.

Run the example via:

cargo +nightly run

Todo

  • Get the async version working (async closures are not pretty in Rust yet)

About

Reactive programming in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0