Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Micropython #35

Open
Eric24 opened this issue Jul 3, 2017 · 3 comments
Open

Port to Micropython #35

Eric24 opened this issue Jul 3, 2017 · 3 comments

Comments

@Eric24
Copy link

Eric24 commented Jul 3, 2017

I'm considering porting fysom to Micropython. The most significant challenge I see is that weak references are not supported. From the fysom code, I see that they are only used in the _weak_callback function.

What would be the downside of not using weak references? Are those objects then never released, or is the use of weak references just a way to release the objects sooner or more efficiently?

@gretel
Copy link

gretel commented Dec 30, 2017

@Eric24 i'm looking for a state machine to use with micropython right now... did you progress in any way? regards

@Eric24
Copy link
Author

Eric24 commented Dec 31, 2017

@gretel - No, I haven't made any progress on this. I'm still interested, so please share what you find, but this hasn't been my primary project.

@gretel
Copy link

gretel commented Dec 31, 2017

@Eric24 did found three even smaller projects.. hope one of them will be easy to port. what do you think?
https://github.com/thomasquintana/declarative-fsm
https://github.com/marcinn/dsm
https://github.com/glyph/automat

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

No branches or pull requests

2 participants