News for hackers. Stuff that matters.
Re:I write type-safe generic data structures in C by adastra22 on Monday June 30, 2025 @03:39PM (#44427046)
Embedded systems, for example.
Re:I write type-safe generic data structures in C by teraflop on Monday June 30, 2025 @04:03PM (#44427248)
I know it used to be, but is it really still common for embedded systems to use weird architectures that G++/Clang don't support?
Re:I write type-safe generic data structures in C by adastra22 on Monday June 30, 2025 @04:29PM (#44427503)
Unless it is a popular system or common architecture, yes.
Re:I write type-safe generic data structures in C by jenadine on Tuesday July 01, 2025 @02:11AM (#44431086)
Could you show me an example of a micro controller still supported today which doesn't have a C++ compiler?
Re:I write type-safe generic data structures in C by foldr on Tuesday July 01, 2025 @06:48AM (#44432542)
The 8051. I think C++ compilers technically exist for it, but for most hardware the only practical choice is the Keil C51 compiler, which is C89.
Re:I write type-safe generic data structures in C by jjmarr on Tuesday July 01, 2025 @02:51AM (#44431270)
> is it common for weird architectures to exist?

> yes, unless you're using a common one.

Re:I write type-safe generic data structures in C by adastra22 on Tuesday July 01, 2025 @10:26AM (#44434212)
That isn’t a contradiction.
Re:I write type-safe generic data structures in C by pjmlp on Tuesday July 01, 2025 @08:24AM (#44433194)
Only very weird ones that barely support C like PIC, most ones support at least C++98 or C++11.