3 ms·
> the resulting solutions need an order of magnitude more resources to accomplish the same tasks Okay, and? It's 2024, even a $2.50 toy devboard had multi-mega
by crote 3y ago
> the resulting solutions need an order of magnitude more resources to accomplish the same tasks
Okay, and? It's 2024, even a $2.50 toy devboard had multi-megabit flash & ram. I really don't care if my code takes up 10k or 100k. If Python makes it easier to develop and eliminates entire categories of vulnerabilities in the process, it doesn't make any sense to use bare C instead. I paid for the entire chip, why shouldn't I use the entire chip?
C is fine if you have to do high-speed bitbanging or have to squeeze every last byte out of a chip, but for most applications that's simply not the case anymore. A decent fraction of embedded systems is absolutely trivial on today's hardware. It's time we start treating them like the mini-computers they are, because remaining in a 2000s mindset is going to result in a lot of compromised network-connected devices due to some developer fat-fingering a buffer size.
- dmitrygr 3y ago> $2.50 toy devboard had multi-megabit flash & ram "multi" is "2 or more" So that's 256KB+ or RAM and 256KB+ of flash. Please send me a link to a $2.50 board with those specs. I could use one at that price point.
- mathiasgredal 3y agoYou can get an S2 mini dev board for a $1 including shipping[1, 2] [1]: https://imgur.com/HUt2qLY https://imgur.com/HUt2qLY [2]: https://www.aliexpress.us/item/3256804697715980.html https://www.aliexpress.us/item/3256804697715980.html?
- dmitrygr 3y agoCurious. Cool
- crote 3y agoYup, that was the exact one I had in mind!
- dekhn 3y agoI'm not a fan of that form factor (dual rows of pins on both sides), it's not super breadboard friendly (works ok in perfboard). But, I have just soldered in one row on each side which gives you Vbus, GND, 3.3V, and ~12 GPIOs (with some restrictions). You can draw a fair amount of current from Vbus for ancillary devices (I run a 16x16 LED panel through mine and can reach full brightness, sustained).
- jacquesm 3y agoYou can run the headers 'up' on one side and 'down' on the other if you need more access (you then still need to bridge from 'up' back to down somewhere else but at least you'll have the room to do so.