Post #2180591
2025-11-22 18:25 UTC
@EI3JDB@mastodon.radio @Kadin2048@mefi.social @henk@waag.social That's the same for any microcontroller not running some giant IoT-style OS. There's no reason to use the gratuitously bad 8-bit ones when there are 32-bit ones at same or lower price and with much better ISAs and tooling.
32-bit need not even be bigger (in terms of program ROM, SRAM, etc.); it just means you're not stuck doing wacky shuffling around between registers for basic arithmetic and stuff, using wonky addressing modes that aren't amenable to standard C, C++, or Rust, etc.
Replies (1)
-
@EI3JDB@mastodon.radio 2025-11-23 12:53
@dalias@hachyderm.io @Kadin2048@mefi.social @henk@waag.social My perspective may be different as my first paying gig (in 1982) was writing radio codecs in 8051 assembler. A lot of my career has been realtime assembler on little CPUs - often battery operated. It seems to me that the little applications appropriate for embedded controllers often don't need much maths or data structures - and subroutines for maths functions is enough. But agreed: if you want to write in Python or Java, a PIC16 is not going to scratch that itch.