Typos/capitalization.

master
Paul Sokolovsky 2015-05-15 15:08:45 +03:00
rodzic 7f34d95b23
commit 93f2b32bf2
1 zmienionych plików z 5 dodań i 5 usunięć

10
FAQ.md

@ -1,24 +1,24 @@
#FAQ
**What are the differences between micropython and standard python (CPython)?**
**What are the differences between MicroPython and standard python (CPython)?**
> Please see the [[Differences]] wiki page
**How big is micropython? How much memory does it take?**
**How big is MicroPython? How much memory does it take?**
> [please answer]
**How fast is micropython?**
**How fast is MicroPython?**
> We try to make MicroPython have about same, or better, average performance as CPython, while offering considerably smaller memory footprint (both code ("ROM") and heap ("RAM") sizes). Optimizing for size is known to be opposite of optimizing for speed, so in some cases MicroPython may be slower (an example is diversified access to large dictionaries). However, on some operations (like integer arithmetics), MicroPython can be around 10 times faster than CPython (note that CPython itself is being optimized, so newer versions may be faster than older).
> Additionally, on select architectures (which include the most popular ones like x86, x86_64, ARMv7), MicroPython offers an ahead-of-time compiler for large subset of Python language, which may increase performance 2 times on average. Beyond that, MicroPython offers "viper" native compiler for a smaller subset of Python language, which offers near-C speed for arithmetic/memory operations. As a final touch, MicroPython offers inline assembler support (currently only for ARMv7 (Thumb2)), for really performance-critical cod.
> Additionally, on select architectures (which include the most popular ones like x86, x86_64, ARMv7), MicroPython offers an ahead-of-time compiler for large subset of Python language, which may increase performance 2 times on average. Beyond that, MicroPython offers "viper" native compiler for a smaller subset of Python language, which offers near-C speed for arithmetic/memory operations. As a final touch, MicroPython offers inline assembler support (currently only for ARMv7 (Thumb2)), for really performance-critical code.
> Summing up, MicroPython offers wide selection of performance options and optimizations, allowing you to get the performance you need - all available even on a microcontroller!
> * Some informal performance samples: **[[Performance]]**
> * Continuous Integration performance testing: http://micropython.org/resources/code-dashboard/ (look for "pystones" curve).
**How many platforms are supported by micropython**
**How many platforms are supported by MicroPython**
> All standard OS's are supported (Mac, Windows, Linux), as well as [[these embedded platforms|Boards Summary]]