I can get a (used) fanless laptop and a USB GPIO/I2C/SPI/CAN/whatever adapter for that money. Raspberry Pis started at ~$30 for a minimal configuration. They were so cheap that they killed the whole overpriced range of $100 to $200 dev boards by vendors that tried to make money of dev boards for their chips.
They have to be cheap enough that tinkers leave them in their projects.
You might be surprised how small a laptop motherboard can be. Once you take away screen, keyboard, battery, speakers, daughter boards and all that, you can have an actively cooled motherboard as slim as a pi and not much bigger.
If you need something really tiny, an esp32 can do a lot of what we used to use a pi for. Driving an eink display for example
The court ruled that the AI generated content has an author/editor/publisher: Google. It also ruled that Google can be held liable. Insert pikachu face meme.
This exactly the missing laptop/lowend desktop performance bracket missing in the ARM ecosystem. Make a Mini-ITX compatible board for the SoC, upstream drivers into mainline Linux (and *BSD), and people will buy it as the low power 24/7 board for the home. Is it so fucking hard not shoot yourself in both feet?
About half of them read as "I tried to use C++ as a worse C" e.g. using struct initilisation instead of constructors, using malloc instead of new or new[].
My pet peeve with C++ is that the sequence point operator can be overloaded at which point it stops being a sequence point.
As the title indicate, this article is comparing construct-to-construct, not idiomatic code to idiomatic code. You probably won't use struct initialization in C++, yet the feature still exist, so it may be useful to someone to compare it to the similar feature in C.
That's the comma operator. I didn't know you could overload it! That's pretty crazy. However, I have never seen anyone do that. Do you have any real world examples?
See e.g. the very-popular Eigen library, in which the type CommaInitializer basically exists for the sole purpose of overloading `operator,`, allowing a cleaner matrix initialization syntax.
reply