logoalt Hacker News

iTokio • yesterday at 5:07 PM • 4 replies • view on HN

This is NOT a slop linker, Mold is a reference in the world of linkers and this port is official.


Replies

dabinat • yesterday at 7:45 PM

LLMs are very good at taking your existing structure and converting it as-is to a new language. But rewriting by hand gives you the opportunity to rethink previous design decisions or optimize the code for the new language. So I was disappointed that this appears to just be a straight port and no additional performance improvements were gained.

➕ show 1 reply
as-182 • yesterday at 5:12 PM

https://github.com/rui314/mold/releases/tag/v2.42.1

"Recent advances in AI-assisted coding have made large-scale rewrites considerably more practical, but they do not eliminate those risks, and we do not take them lightly."

➕ show 1 reply
menaerus • yesterday at 5:22 PM

Last time I checked it didn't make any difference or whatsoever when compared to lld so I would not go that far by saying "mold is a reference in the world of linkers" - made a test just few days ago on 10M LoC C++. So, rewriting the codebase in another language just because doesn't seem like an investment worth doing when there's much bigger fish to fry.

adastra22 • yesterday at 6:44 PM

They just threw out the code base and replaced it with a vibe coded rust port.