4 ms·
Remember to add: that can actually run standard C++ (i.e. with exceptions)? Certainly you can find an architecture which may run some type of C-like language w
by AshamedCaptain 6y ago
Remember to add: that can actually run standard C++ (i.e. with exceptions)?
Certainly you can find an architecture which may run some type of C-like language with strange arithmetic rules (e.g. DSPs). I would bet it's harder to find one such architecture where one can run standard C, and impossible to find one which can run standard C++.
- lultimouomo 6y agoThis. I don't understand why everyone must suffer the pain of the possibility of weird char widths instead of just settling on using a non-standard C in a bunch of DSPs. It's not like you're going to link a bunch of regular run of the mill C libraries on them anyway.
- not_knuth 6y agoIsn't this an artifact of the age of C? When it was first created it was a major concern to support every architecture, so they put it in the standard. I don't think anyone has wanted to go through the pain of removing it ever since. After all, who are language nerds to dictate chip manufacturers what the ISA should look like? :P And it was only in the last 2 decades that everything got dominated by x86...
- deleted 6y ago[deleted]