News for hackers. Stuff that matters.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by Philip-J-Fry on Sunday July 09, 2023 @06:13AM (#36653193)
>I really hate how for microcontrollers the only two choices are either C++ or Micropython

There's TinyGo as well. https://tinygo.org/

I'd say that's the middle ground for me.

Re:“C is quirky, flawed, and an enormous success” – Dennis R... by rcarmo on Sunday July 09, 2023 @06:18AM (#36653218)
It is nice, but nowhere near as complete feature-wise than C/C++. The fact that it exists does not mean you can use it to achieve the same thing.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by Philip-J-Fry on Sunday July 09, 2023 @06:31AM (#36653292)
What do you mean no where near as complete feature wise? Go or specifically the TinyGo implementation?

Seems to do exactly what 99% of people need.

Re:“C is quirky, flawed, and an enormous success” – Dennis R... by rcarmo on Sunday July 09, 2023 @06:36AM (#36653320)
"Seems" is an outside perspective. There are loads of hardware features that it just doesn't support on various boards, and lots of extra hardware (like sensors) that it has no libraries for. It's not just the MCU/CPU that matters here.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by stowaway1256 on Sunday July 09, 2023 @06:34AM (#36653305)
Feature parity is fine but support is not quite there. Doesn't support WiFi on NodeMCU boards last I checked.
Re:“C is quirky, flawed, and an enormous success” – Dennis R... by varjag on Sunday July 09, 2023 @11:13AM (#36655119)
There's a niche doing C++ (vs. straight C) on microcontrollers but the rest are just tinkerer choices.