Hacker News new | ask | show | jobs
by askvictor 1226 days ago
The other comparison would be memory and disk/ROM usage.

Also, micropython, in its hundreds of thousands of lines of code, supports quite a number of microcontrollers and boards; I suspect the core language is smaller, or counting lines used for a single build target would drop it considerably.

1 comments

You are correct, the micropython vm/interpreter + the unix target (one of the simplest) combined are ~50k lines of C.

Note that to run correctly micropython also needs its python stdlib which is about 15k lines of Python.