Deutsch   English   Français   Italiano  
<87v7zsaqvd.fsf@nightsong.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Paul Rubin <no.email@nospam.invalid>
Newsgroups: comp.lang.python
Subject: Re: new here
Date: Thu, 22 Aug 2024 19:56:54 -0700
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <87v7zsaqvd.fsf@nightsong.com>
References: <87ikvuzv8g.fsf@rpi3> <liktbqFgjfU2@mid.individual.net>
	<87zfp4bgm3.fsf@nightsong.com> <lipj21Flti1U6@mid.individual.net>
	<6da65aef-86d7-46e7-90cc-692985ffaf29@DancesWithMice.info>
	<mailman.65.1724358976.2890.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 23 Aug 2024 04:56:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8ad2237b0abc898c2bd5e159cf3745b8";
	logging-data="820447"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/+8au/QX/kw5D6tYIkyCrO"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:sDh4yHwFskvGFLNjc2qTXV8fuWM=
	sha1:kULMw7Wl3butPAr/UyZyM19T/o4=
Bytes: 2576

dn <PythonList@DancesWithMice.info> writes:

> - it's cut-down to work on bare-metal which makes for low demands on
>   resources, but commensurate shortage of the facilities we CPython 
> developers take for-granted (ie may allow ourselves to find annoying)

Later versions of Python (the language) aren't particularly more
demanding.  MicroPython is just out of date in that regard.  The high
consumption stuff in CPython is mostly in the libraries.

>> MicroPython vs CircuitPython
> Have you (gentle reader) used both and feel able to offer a comparison
> - when to prefer one over the other?

CircuitPython is supposed to be more beginner-friendly and more
consistent across hardware.  It also supports some hardware devices that
MicroPython doesn't.  I don't know how difficult it would be to port
those drivers if there was occasion to.  MicroPython has more "export"
user options, including being able to compile in more language features
like bignum arithmetic.  I think CircuitPython integers are limited to
32 bits.

Also, CircuitPython (maybe as part of its beginner friendliness)
supports the USB mass storagei interface out of the box.  So you can buy
an Adafruit board with CircuitPython already on it, plug it into a USB
port, and have it auto-mount as a FAT32 file system to which you can
drag and drop files from your PC.  With MicroPython on the Pico, you use
some command line utility to transfer files instead, but it is no big
deal.