Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ninja is by design low level, it doesn't need to know that about C++. That's the point of having a front end that would know about libraries and such.

So not sure what you argument is about. It's like saying that assembly has no high end abstractions. Sure, it doesn't. It in itself is not an argument against splitting the build into several passes.

That said, Buck looks like an interesting build system.

In general, to have proper handling of librarires and etc. the language itself should support the notion of modules, like Rust does. Then you can implement sane tools (cargo). C++ is still crippled in this regard. Though there are some ideas how to improve it:

https://medium.com/@dmitrygz/brief-article-on-c-modules-f582...



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

Search: