News for hackers. Stuff that matters.
Re:The end of the kernel Rust experiment by gf000 on Wednesday December 10, 2025 @05:56AM (#46216358)
> that C can express that Rust cannot

The reverse is probably more true, though. Rust has native SIMD support for example, while in standard C there is no way to express that.

'C is not a low-level language' is a great blog post about the topic.

Re:The end of the kernel Rust experiment by ndiddy on Wednesday December 10, 2025 @07:53AM (#46217146)
AFAIK std::simd is still nightly only. You can use the raw intrinsics in std::arch, but that's not any better than "#include <immintrin.h>".
Re:The end of the kernel Rust experiment by kristianp on Wednesday December 10, 2025 @06:01AM (#46216383)
So use the fairly common SIMD extensions in C, that's not much of an argument.
Re:The end of the kernel Rust experiment by exDM69 on Wednesday December 10, 2025 @12:39PM (#46220753)
> Rust has native SIMD support

std::simd is nightly only.

> while in standard C there is no way to express that.

In ISO Standard C(++) there's no SIMD.

But in practice C vector extensions are available in Clang and GCC which are very similar to Rust std::simd (can use normal arithmetic operations).

Unless you're talking about CPU specific intrinsics, which are available to in both languages (core::arch intrinsics vs. xmmintrin.h) in all big compilers.