4 ms·
> There is no technical advantage to transforming Rust into C There is a key one: the ability to use any C compiler out there (including proprietary ones). Thi
by jfkebwjsbx 7y ago
> There is no technical advantage to transforming Rust into C
There is a key one: the ability to use any C compiler out there (including proprietary ones). This allows you to target all platforms out there.
- pjmlp 7y agoA dumb interpreter for the IR as bootstraping stage is a better alternative. Plus very few platforms have only support for C and nothing else, unless we are speaking about esoteric embedded CPUs.
- jfkebwjsbx 7y agoOf course we are talking about embedded CPUs. And no, they are not "esoteric". They are everywhere around you. Then you can also add custom CPUs and systems, FPGAs, etc. Those are way more rare, but still something people use daily in some industries.
- steveklabnik 7y agoWe have an interpreter for MIR. It isn't fast enough.
- pjmlp 7y agoI clearly mentioned "as bootstraping stage", for nothing else.
- steveklabnik 7y agoI see, I think I misinterpreted you. Sorry!