Hacker News new | ask | show | jobs
by MayeulC 59 days ago
I have been thinking about Rust bootstrapping recently. Couldn't a Rust compiler without borrow checker be put together relatively easily?

Assuming the source code contains no issues (which can be checked later once the Rust compiler is built), one could leave that piece behind, and take the shortest path from .rs to executed code (C transpilation, or even an interpreter).

1 comments

Ah, good to know, thank you. Though since we are talking about bootstrapping, it's a bit of a shame that the project is C++ though, this is also complex to bootstrap (at least it supports GCC 5.4 from 2016, which is a bit easier). Ideally it could target a C dialect, such as one supported my GNU MES. See also M2-Planet.