2 ms·
"Arduino folks" are defined by their limited engagement, so are not reliable arbiters of the value of tools in the toolbox.
by ncmncm 5y ago
"Arduino folks" are defined by their limited engagement, so are not reliable arbiters of the value of tools in the toolbox.
- pjmlp 5y agoIf you bothered to watch the linked video, the Arduino folks are the ones that produce the tools in the box. They only picked C++, because C would be even worse, and it provided an easy way to have their Arduino like language without creating their own compiler. They have no plans to ever provide proper C++ support. So if that makes you jump, go watch a Dan Saks talk about C++ adoption on embedded domain or not.
- iostream23 5y agoThey picked c++ because it’s a low level capable language that has a reasonably familiar syntax, and their primary training wheels are these simplified arruino libraries. The actual runtime framework with its “setup” and “loop” methods is a reasonable proxy for an RTOS or the framework an experienced embedded developer would have built as a general runtime system. There’s nothing wrong with Arduino, except that its SPI SD card library won’t give you good bandwidth but that’s because they wanted it to be an understandable simple access library for SD cards, and you will need to go further if you want reasonable performance.