3 ms·
Isn’t this an extension of what occurred everywhere in tech, programming becoming bloated/inefficient as a trade off for developer UX via frameworks/abstraction
by conductr 3y ago
Isn’t this an extension of what occurred everywhere in tech, programming becoming bloated/inefficient as a trade off for developer UX via frameworks/abstractions/higher level programming languages. It’s all driven by the low cost of hardware performance.
I’m coming at it from opposite direction. I’ve been learning C to program ESP32 devices and it’s such a frustrating experience how much that language is lacking or has to be DIYed. I could easily use python and move 10x faster, but I’m trying to force myself to learn C in the process, otherwise I have no idea what the benefit would be.
- nateglims 3y agoThere's a pretty direct tradeoff between BOM cost of an ARM microcontroller and ROM/RAM. ESP is a little different with external spi flash, but the tradeoff is mostly there still. So there's a lot of pressure in product development to keep technical costing down by using C/Assembly and choose technologies like UDP vs TCP or CBOR/Binary protocols vs JSON.
- rramadass 3y ago> I’ve been learning C to program ESP32 devices and it’s such a frustrating experience ... but I’m trying to force myself to learn C in the process, otherwise I have no idea what the benefit would be. Keep at it; the benefits to learning C/C++ are immense. They have become the underlying "lingua franca" of the software industry allowing you to study/program applications/libraries/system tools/OS kernels/bare-metal MCUs etc. For lots of C code to study for MCU programming, see the books (some are available for free) by Michael Pont of SafeTTy Systems here - https://www.safetty.net/publications https://www.safetty.net/publications Though they are for 8051 and not for ESP32 you should be able to understand the techniques involved and use them with your choice of MCU family.