Skip to content

Conversation

@pereman2
Copy link
Collaborator

This is a draft of how an architecture of callbacks would look like instead of a state machine. I tried with next first because it's easier.

This approach seems to be hard to get right because rust forces so many borrowing rules that I just don't care about, you will notice how much I despise it in op_next, where I unsafely cast to pointers knowingly the lifetimes are okay and I just don't want to create more bullshit Rcs

@pereman2 pereman2 closed this May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants