4 ms·
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,
by thesnide 1y ago
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.
- steveklabnik 1y agoRust 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.