From a4f10cb36a9ce42e40a563a3264c3d54454fc615 Mon Sep 17 00:00:00 2001 From: Garrett Berg Date: Thu, 7 May 2015 09:31:00 -0600 Subject: [PATCH] Updated Differences (markdown) --- Differences.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Differences.md b/Differences.md index a882bb0..a46c4c1 100644 --- a/Differences.md +++ b/Differences.md @@ -1,4 +1,7 @@ -This page is a proof-of-concept effort to document the differences between CPython3 (considered to be a reference implementation of the Python3 language) and MicroPython. It classifies differences into 3 categories, each category having a different status regarding the possibility that items belonging to it will change. +# Differences to CPython +MicroPython does not support the entire python standard library. If a module is missing it will be due to the in-applicability of that module for use in an embedded controller. High memory consumption (e.g. sqlite3) or a lack of a certain required hardware feature (e.g. multiprocessing) are reasons that some modules can not be implemented for some microcontrollers. The full list list of standard python libraries can be found here: [Python 3.4 standard lib](https://docs.python.org/3.4/library/index.html) + +There are several differences between CPython3 (considered to be a reference implementation of the Python3 language) and MicroPython. These differences are classified into 3 categories, each category having a different status regarding the possibility that items belonging to it will change. ## Differences By Design MicroPython is intended for constrained environments, in particular, microcontrollers, which have orders of magnitude less performance and memory than "desktop" systems on which CPython3 runs. This means that MicroPython must be designed with this constrained environment in mind, leaving out features which simply won't fit, or won't scale, with target systems. "By design" differences are unlikely to change.