← Back to context

Comment by WhereIsTheTruth

6 hours ago

It was transpiled, not rewritten, rewrite implies by hand

If it was transpiled there would be what GNU calls a "preferred form" of the linker source in which it wasn't written in Rust.

This is true for - as an example - the WUFFS GIF decoder. You can get C which decodes GIFs and was transpiled from WUFFS, but that's awful code and nobody wants to modify that code, whereas the WUFFS source code for the decoder is fine.

When we look at rui314's changes to mold today after 3.0 release, they just modify the mold source code in Rust, as you'd expect if this was in fact now written in Rust.