u/optical002

▲ 2 r/rust

Published push based single threaded reactive programming library

Hello,

https://crates.io/crates/rx-rs

My motivation for creating this library, was to use it for developing UI inside Godot + Rust. From start I was looking at which FRP library I should use, but most of them were missing features I needed or most of them are ASync and it does not work well with Godot.

This is heavily inspired by my previous workplace at gamedev company in-house Rx library, since I worked with it for over 5 years, those patterns really attached to me and I do see that they bring many benefits and reduce coupling of the systems, which I prefer over immidiate mode for doing UI in a game engine.

This is my first time attempting to implement it inside rust (I'm no expert in rust). Maybe I'm doing something wrong or redundant and it can be done in a better way? Also hope that this might be useful to someone else!

Thank you!

reddit.com
u/optical002 — 5 days ago

Published push based single threaded reactive programming library

Hello,

https://crates.io/crates/rx-rs

My motivation for creating this library, was to use it for developing UI inside Godot + Rust. From start I was looking at which FRP library I should use, but most of them were missing features I needed or most of them are ASync and it does not work well with Godot.

This is heavily inspired by my previous workplace at gamedev company in-house Rx library, since I worked with it for over 5 years, those patterns really attached to me and I do see that they bring many benefits and reduce coupling of the systems, which I prefer over immidiate mode for doing UI in a game engine.

This is my first time attempting to implement it inside rust (I'm no expert in rust). Maybe I'm doing something wrong or redundant and it can be done in a better way? Also hope that this might be useful to someone else!

Thank you!

reddit.com
u/optical002 — 5 days ago