News for hackers. Stuff that matters.
Re:Why I Write Games in C (yes, C) by jcelerier on Sunday September 22, 2019 @03:03AM (#21040058)
> Makes some really great points, similar to why C++ is not favored for embedded. C++ compilers are just too unpredictable and when trying to meet code limits in 128K, 32K or even 2K of flash, C++ is a nightmare. All of the major embedded SDKs (STM, Microchip, SiLabs, TI, NXP, I could go on) are written in C... and C only.

OTOH Arduino is C++ and works fine for millions of people, I've also dabbled a bit in various AVR, STM32 and ESP8266, all in C++.

Re:Why I Write Games in C (yes, C) by 0x0aff374668 on Friday September 27, 2019 @02:46PM (#21095038)
Arduino is a sandbox for people with little experience in embedded programming to dip a toe. They aren't interested in writing optimized constrained code, which is what 99% of embedded programming for products is about. Two totally different spheres.