fengalin / media-toc

Build a table of contents from a media file or split a media file into chapters
MIT License
73 stars 3 forks source link

Attempt to reduce `Rc`s in the UI #129

Closed fengalin closed 5 years ago

fengalin commented 5 years ago

See https://kyren.github.io/2018/09/14/rustconf-talk.html as an inspiration.

This is what I plan on exploring:

Callbacks would be able to interact with any controller logic and state using only one Ref<Cell<>>. And shared states would no longer need to be Ref<Cell<>> or copied & synchronized.

fengalin commented 5 years ago

This is not an ECS-like approach since the UI should remain Object data oriented and not behaviour data oriented.