3 ms·
I suspect it's too late, but one lesson that can be learned from D is that having one frontend implementation with multiple backend glue layers is much more con
by mhh__ 6y ago
I suspect it's too late, but one lesson that can be learned from D is that having one frontend implementation with multiple backend glue layers is much more convenient than having one in D and one in C++ (I believe Iain Buclaw is in the process of moving the D frontend in gcc to use the proper D one as it's been lagging behind)
- steveklabnik 6y agoThere are pros to that approach, but also cons. The major con is that keeping the rustc frontend would make an existing Rust compiler be a requirement, and not having that makes bootstrapping easier, which is a major pro. This (among other things) was debated a lot.
- mhh__ 6y ago> The major con A major con of not sharing is not having a backend at all. It's a lot of work to keep up with a moving target
- steveklabnik 6y agoYes, that is a theoretical problem, for sure. All choices have pros and cons.