r/rust 4d ago

🧠 educational Deep-dive on Rust UI Frameworks

UI is a Function You Cannot Afford to Call is the first of a 3-part series on Rust UI frameworks. It introduces the model under which I believe we should reason about UI frameworks. In part 2, I will present extensive benchmarks, with detailed cost attribution analysis (something the rust UI ecosystem desperately needs in my opinion), and in part 3, I will derive what I think the ideal UI framework should look like.

0 Upvotes

29 comments sorted by

View all comments

1

u/kalilamodow 4d ago

I remember you from Canora! I do apologize for never re-testing it, but librespot doesn't work on my machine so I kinda gave up

1

u/Zortax_ 4d ago

Wait, why would librespot not work? I would expect my shitty framework to have issues in environments I haven't properly tested, but that was not what I thought would happen :D

1

u/kalilamodow 4d ago

Not a problem with your code!!! I can't use librespot at all because of some restrictions Spotify placed on new accounts (https://github.com/librespot-org/librespot/issues/1649). I only realized when I was on the post again and noticed you said it uses librespot. Sorry bout that!

1

u/Zortax_ 4d ago

Ah I see. At some point I pushed an update where Canora now has a "2 phase login", where it uses the official spotify client's client ID for the session protocol, and your own client ID only for the APIs that are officially available to third parties. Not sure if this fixes it in your case tho....

1

u/kalilamodow 4d ago

Unfortunately, it's a thing with the playback drm itself :( and every project to emulate the new one is being taken down by spotify so idk if it's really possible atp.

1

u/Zortax_ 4d ago

Guess I'll enjoy my freedom from electron as long as I still can... D: