3 ms·
The drawbacks of mold are: - It's linux only (macOS support WIP) - It's still somewhat experimental. It may not be able to link everything. There may be bugs.
by nicoburns 4y ago
The drawbacks of mold are:
- It's linux only (macOS support WIP)
- It's still somewhat experimental. It may not be able to link everything. There may be bugs.
Having said that, it's written by someone with a lot of experience writing linkers (they previously worked on lld), can link codebases as complex as chromium, and generally seems to work well for most use cases.
A common pattern would be to use mold for development, and then the regular linker (varies by platform) for release builds.
- capableweb 4y ago> A common pattern would be to use mold for development, and then the regular linker (varies by platform) for release builds. That makes a lot of sense. Thanks for sharing the potential drawbacks and possible solutions to those :)