Hacker News new | ask | show | jobs
by scrubs 296 days ago
Foundational software ... is too vague to be useful. Foundational for who, what, what domain? Not buying it ...
1 comments

My main issue with rust is that it only target mainstream archs.

For any new arch, first there is an asm, then a C compiler.

Imagine i'm designing a new CPU, how difficult is it to have a direct rust-to-asm compiler for it? And the runtime?

So rust has its uses, but only for its targetted archs. Old or esoteric ones are sol.

Rust has the same amount of runtime as C. And since it uses LLVM on the backend, there’s motivation for companies to support codegen via it to build that C compiler; even Intel has retargeted their compiler on top of it these days.