ev3dev / ev3dev-lang-python

Pure python bindings for ev3dev
MIT License
428 stars 145 forks source link

Micropython support for control/webserver.py #638

Open dwalton76 opened 5 years ago

dwalton76 commented 5 years ago

I have experimented with https://github.com/jczic/MicroWebSrv and it seems to work fairly well. I haven't tested to see how will that library works with python3 though. It might be a decent starting point though if we decide we want to support WebControlledTank in micropython. It takes forever (I want to say more than 30s) to load WebControlledTank via python3.

WasabiFan commented 5 years ago

I think this could be cool, but from a time investment perspective the reward probably isn't worth it for now. My thought is that uPy is, in general, designed to be small -- do just the simple things, but really fast. If someone wants a whole web server running there's probably enough work to be done there that they're willing to/will want to use full CPython instead. That doesn't prevent us from supporting it if it turns out someone has the time and wants to go for it though.