Remix.run Logo
nacozarina 4 days ago

new chips will always have a c compiler available long before anything else

Avamander 4 days ago | parent | next [-]

I would assume that an LLVM backend is created for new chips and then C is not the only thing getting support. There's very little point in just supporting C in that sense.

nicoburns 4 days ago | parent | prev | next [-]

That doesn't seem to have been an issue for recent new CPU architectures. RISC-V has excellent Rust support for example.

camel-cdr 4 days ago | parent [-]

Not really. Rust still doesn't support Arm SVE or RVV intrinsics.

nicoburns 4 days ago | parent | next [-]

I suppose so. I'd see that as more of a missing Rust language feature (SIMD support is still immature) rather than a platform support issue though.

pjmlp 3 days ago | parent | prev [-]

Neither does C, the regular ISO C as defined by WG14.

pjmlp 3 days ago | parent | prev [-]

Alongside a much safer C++ compiler.

In 2025 there are hardly single language compiler toolchains being released.

Also if the chip toolchain is based on a GCC or clang fork, there are several frontends to chose from.