Hacker News new | ask | show | jobs
by flohofwoe 23 days ago
> and you decide to drop to down to C++

Going from Rust to C++ seems a strange choice, since you get most of the same problems just without memory safety. Zig, Odin, C3 or even plain old C though? At least those languages have things to offer that neither Rust nor C++ provide (and if it's just compilation speed).

1 comments

Market share, IDE and graphics tooling, and industry standards.

LLVM is not going to take PRs written in Rust to fix the Rust compiler backend, for example.

Neither are OpenJDK, .NET, V8, JSCore going to take such PRs.

By the way, LLVM and GCC would also not take PRs written in C.

'Industry standards' is where programming languages go to die ;)

As for PRs: well yeah of course, when in Rome...

C has been doing quite well with industry standards like UNIX/POSIX, OpenGL, Vulkan, VFX, OpenMP,..

Same applies to C++ with CUDA, SYSCL, HPC/HFT frameworks, LLVM/GCC, AI compilers,...

They don't look dead to me, even if we as industry could be much better by now.