←back to thread

Eurydice: a Rust to C compiler

(jonathan.protzenko.fr)
187 points todsacerdoti | 1 comments | | HN request time: 0.216s | source
Show context
bloppe ◴[] No.46180140[source]
Rust compiles to LLVM IR. I'm pretty surprised that building this transpiler was considered a better use of time than writing an LLVM backend for whatever "weird embedded target" might need this.
replies(9): >>46180523 #>>46180571 #>>46180649 #>>46180773 #>>46180810 #>>46181523 #>>46184598 #>>46185313 #>>46189858 #
1. zem ◴[] No.46189858[source]
this effectively writes a backend for all the weird targets at once, since pretty much everything out there has c compiler support