News for hackers. Stuff that matters.
Re:Goals and Priorities for C++ by cozzyd on Thursday May 21, 2020 @11:05PM (#23268305)
It's clear these authors don't care much about the embedded community, which is too bad, since C++ is basically one of the two choices you have (the other being C). I prefer C on embedded (just because it's easy to accidentally allocate memory in C++), but there are large embedded ecosystems in C++ (Arduino, mbed).
Re:Goals and Priorities for C++ by ausjke on Thursday May 21, 2020 @11:59PM (#23268508)
what made you think they don't care about embedded space, just curious. Yes I use c++ for embedded though much less comparing to C.
Re:Goals and Priorities for C++ by cozzyd on Friday May 22, 2020 @12:27AM (#23268626)
From the article:

A specific open question is whether supporting 32-bit hardware and environments (including for example x32) is an important goal. While some communities, especially in the embedded space, currently rely on this, it comes at a significant cost and without significant advantage to other communities. We would like to attempt to address the needs of these communities within a 64-bit model to simplify things long-term, but this may prove impossible.

This is not just microcontrollers (hardly niche, but obviously different performance envelope), but also plenty of 32-bit Linux single-board computers (e.g. BeagleBoneBlack). Not to mention the earlier mention of endianess other than little.

Re:Goals and Priorities for C++ by ausjke on Monday May 25, 2020 @12:22AM (#23297777)
this is crucial, thanks! I'm to forgo c++ efforts due to this decision/intention.

on the other hand, rust does not support 32bit arm at tier1 either. https://forge.rust-lang.org/release/platform-support.html

golang so far still supports 32bit, but who knows for how long, after all it's Google who can do anything they want, plus golang is too fat for many embedded boards.

Thank goodness we will have C stick around for many decades in the long run, along with ash probably lua5.1 for scripting that is.

Re:Goals and Priorities for C++ by ausjke on Monday May 25, 2020 @11:36AM (#23302108)
also I hope it's for the future new c++ standard, i.e. for c++17, c++20 we will have full 32bit support, that should suffice for one decade I assume.

otherwise we need get rid of c++ for 32bit embedded fast.