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

how are modules related to dependencies in general? You can use your modules at the same time using dependencies via includes. And this works well.


Can't include _any_ header downstream if you import std, it is also unknown how you're gonna export and share modules across dependencies you have no indention of 'porting' to modules...


why everyone is fixated around `import std`?? Its only one library. If you can't use `import std` this is not mean that you can't use modules...

> it is also unknown how you're gonna export and share modules across dependencies you have no indention of 'porting' to modules...

as a first step you can introduce modules only in private interfaces of your lib. This is also absolutely valid usage..

There is no solution to invent modules in such way that everyone just switch compiler flag and have fun. If you expect this, so...




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

Search: