Damus
JeffG  profile picture
JeffG
@JeffG
Over the past 6 weeks we've been rebuilding the White Noise flutter app from scratch.

We use flutter_rust_bridge to keep all core logic and crypto in Rust. But trying to follow Flutter "best practices" led to too many providers, unclear state ownership, and caching at too many layers.

When we were in Costa Rica back in late November, we took a hard look at what we had and decided to do a spike based on a collection of ideas that @pepi had. That spike quickly showed a lot of promise and we've combined it with a beautiful new design from @Vladimir Krstić

The new approach (codename Sloth 🦥):

- Hooks for local/ephemeral state, not stateful widgets
- Providers only for shared app state
- whitenoise-rs crate is the source of truth, no Flutter-side caching
- 99.7% test coverage

Simpler patterns, faster iteration, way easier to reason about.

Sloths might be slow but they're the most efficient animals on the planet! This has also given us a chance to incorporate all the security audit feedback into MDK and whitenoise-rs so not only will the app be faster and more beautiful, it'll also be more secure!

I'm getting excited to launch the new White Noise in just a few weeks!
179❤️31🚀3👍2🔥2❤️1👀1
Boog · 3w
Is this on GitHub?
SatsAndSports · 3w
It might be different, but this kinda reminds me of something I'm doing with my library for processing payments cashu spilman channels. (I have a question at the end of this long comment) I have Rust code for processing payments, wrapped around a transport-neutral and stateless core The wrapper n...
Dan · 3w
Can't wait for what's next. This is getting really close to being a daily driver.
mleku · 3w
this is why i'm not a fan of flutter for desktop apps. not so complicated if it's flutter, dart and kotlin on android/ios but really a problem with integration because of the way they designed flutter. and it pleases me to hear that using rust doesn't solve any of this problem, because using Go to b...
erik · 3w
tease the design slowly! release little clips and screenshots. i want to see what nostr:npub1t3gd5yefglarhar4n6uh34uymvft4tgu8edk5465zzhtv4rrnd9sg7upxq is cooking!
Max · 3w
It's really nice how these three major redactors all aligned together, will be a massive release.
Fzero · 3w
LFG!
Justin Moon · 2w
Nice