Cppfront : A new syntax for C++

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Sep 19 13:28:00 UTC 2022


On Monday, 19 September 2022 at 07:43:24 UTC, Paulo Pinto wrote:
> Other than C that is.

Right, but CPU/SoC manufacturers have some interest in getting 
support for their hardware in LLVM/Clang or the GCC suite, so for 
the less esoteric devices C and C++ can be considered to be the 
same (same or similar compiler core, with some configuration 
differences).

> And eventually everyone sending patches to the Linux kernel, 
> might as well brush up their Rust skills.

Sure, but I perceive Rust as more of a high level approach with 
functional leanings, that also allows some low level programming. 
I guess one motivation for Carbon is to take that extra step 
towards a more hardware oriented vantage point with eco system 
backwards compatibility, in comparison with Rust. Still, it is 
not clear what Carbon will become like at this point and it seems 
to take in quite a bit of high level influence from Rust, ML and 
other such languages with a "high" abstraction level. I also am 
not sure if there is enough people with a focus on embedded and 
hardware that are engaging with the Carbon design process, which 
is a pity since the process is open for anyone to join.

Most system languages seem to suffer from not taking in the full 
use-case spectrum from the start. That appears to be an obstacle 
for most alternative system programming platforms, including D. 
It turns out that it is very difficult to change course later, as 
we can see with D and memory allocation (process, culture and 
design-dependencies appears to make late changes very difficult 
on a "social" level).




More information about the Digitalmars-d mailing list