Hacker News new | past | comments | ask | show | jobs | submit login

One obvious example of this would be C++, where a smarter frontend that doesn't do textual inclusion of a million lines would significantly improve compile times.



But that's low-hanging fruit "optimization", no? Once you get around it, and this has been forever, the bottleneck is in the backend generation. So if Rust has already solved this, the area where they can improve most is the backend generation?

Most C++ builds I have worked with, and all of them being MMLoC codebases, were actually bottlenecked by the high memory pressure. In part due to heavy templates and symbol visibility.


I think the history of C++ implementations shows that it's not low hanging fruit, it's a huge effort to implement and the payoffs aren't game changing.


Modules? Yeah, I don't expect them to be a game changer either. Exactly because of the reasons I mentioned.


that makes sense. are Rust's macros handled in the frontend? if so, I could see how multithreading could have a dramatic impact




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: