Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Python on Pebble (gist.github.com)
74 points by nhumrich on Aug 21, 2016 | hide | past | favorite | 11 comments


For the confused ones (I was!):

This is about writing an app for the Pebble smartwach (https://www.pebble.com) in Python by using the Python to Javascript compiler transcrypt (http://transcrypt.org/).


This feels... at best kinda silly. Is there anything actually gained here compared to, say, even just using ES6 + Babel?


I expect that it would be nicer for those of us who know python but not JS. Although it might be overall better just to learn some JS.


The pebble is just a normal Cortex-M processor, so Python should already run on it.

(https://github.com/micropython/micropython/wiki)


Memory requirements make this unfeasible for the Pebble.


micropython ARM is around 80K.


Exactly.


Is there a guide to doing this? I'm curious to know, the pebble seems like a closed system so it would be hard to "just run micropython" on it vs. something more open.


AFAIK it's only either C or Javascript that you can use to create your WatchApp. See https://developer.pebble.com/guides/


ok that I knew, I suppose you could compile python via C, at least theoretically.


This isn't exactly Python on Pebble, it's transcribed-to-JS Python. I'm a bit disappointed by the premise...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: