5 ms·
Eh, I don't really see what this term gives us... So C2Rust is a compiler too, since Rust is compiled to LLVM?
by the-alt-one 5y ago
Eh, I don't really see what this term gives us... So C2Rust is a compiler too, since Rust is compiled to LLVM?
- chrisseaton 5y ago> So C2Rust is a compiler too All transpilers are compilers. C2Rust is a transpiler and a compiler. Not all compilers are transpilers. Graal for example is a compiler but not a transpiler. Just like all cheese burgers are burgers but not all burgers are cheese burgers. Nobody questions the term ‘cheese burger’ because we already have the word ‘burger’.
- the-alt-one 5y agoYeah, because a cheese burger has cheese. What does a transpiler have? What is the common factor between all transpilers? Who decides on this layering of which languages are higher level or lower level? C2Rust doesn't call itself a transpiler, it calls itself a translator. This term seems completely useless to me.
- chrisseaton 5y ago> What does a transpiler have? What is the common factor between all transpilers? High to high translation. Limited lowering. > Who decides on this layering of which languages are higher level or lower level? You know it when you see it. Who decides what makes a book a 'horror book'? There's no authority on that either. You know it when you see it. > C2Rust doesn't call itself a transpiler, it calls itself a translator. Yes a translator - a translating compiler - a transpiler. > This term seems completely useless to me. Not sure why the term seems to wind people up so much - it just add a little extra info.