Remix.run Logo
maximilianburke 3 days ago

Maybe they can resurrect the C backend for LLVM and run that through their proprietary compilers?

It's probably not straightforward but the users of NonStop hardware have a lot of money so I'm sure they could find a way.

zozbot234 3 days ago | parent | next [-]

Rust has an experimental C backend of its own as part of rustc_codegen_clr https://github.com/FractalFir/rustc_codegen_clr . Would probably work better than trying to transpile C from general LLVM IR.

hedgehog 3 days ago | parent [-]

Some people have demonstrated portability using the WASM target, translating that to C89 via w2c2, and then compiling _that_ for the final target.

steveklabnik 3 days ago | parent | prev [-]

Given that the maintainer previously said they had tried to pay to get GCC and LLVM ported multiple times, all of which failed, money doesn’t seem to have helped.

jen20 3 days ago | parent | next [-]

Surely the question is how much they tried to pay? Clearly the answer is "not enough".

maximilianburke 3 days ago | parent | prev [-]

I mean at one point I had LLVM targeting Xbox 360, PS3, and Wii so I'm sure it's possible, it just needs some imagination and elbow grease :)