Live data from Hacker News

Mold: A Modern Linker

github.com

21–30 of 125 posts

Re: Mold: A Modern Linker

#21
post #18
post #13

From a marketing perspective, "mold" meaning "a form used to cast an object from liquid" is a lot more appealing than "green fungus growing on bread." A mold for casting objects is also a lot closer, metaphorically speaking, to what a linker does. I honestly thought that was the meaning the author was trying to evoke before I saw the picture on the github page.

Author here. Haha, that's perhaps true. But at the same time, it seems like a tradition to give a silly name (e.g. "git") to a tool, and I actually like that name and the image to show that I'm not too serious. This is a fun project but not ready for production use.

> that name and the image to show that I'm not too serious. This is a fun project but not ready for production use.

I'm not sure if that image is the best way to communicate that status, given that the sudo sandwich logo exists (which coincidentally bears some resemblance to your moldy bread). A big bold "not ready for production" at the top of the README is probably a better way to achieve that.

Re: Mold: A Modern Linker

#22
post #13

From a marketing perspective, "mold" meaning "a form used to cast an object from liquid" is a lot more appealing than "green fungus growing on bread." A mold for casting objects is also a lot closer, metaphorically speaking, to what a linker does. I honestly thought that was the meaning the author was trying to evoke before I saw the picture on the github page.

I was going to say: but the casting template is spelled 'mould' not 'mold'.

Looked it up and realised that the US spelling is actually also 'mold' https://www.oxfordlearnersdictionaries.com/definition/englis...

Re: Mold: A Modern Linker

#23
post #14

Earlier quoted context omitted.

> in the end I had to give up with the fork()-based worker process design. Honestly that's a good thing, or your program just fundamentally couldn't possibly ever work on native Windows!

Or mainframe OSes.

Not my area. Does compiling happen on mainframes these days?

Re: Mold: A Modern Linker

#24
post #22
post #13

From a marketing perspective, "mold" meaning "a form used to cast an object from liquid" is a lot more appealing than "green fungus growing on bread." A mold for casting objects is also a lot closer, metaphorically speaking, to what a linker does. I honestly thought that was the meaning the author was trying to evoke before I saw the picture on the github page.

I was going to say: but the casting template is spelled 'mould' not 'mold'. Looked it up and realised that the US spelling is actually also 'mold' https://www.oxfordlearnersdictionaries.com/definition/englis...

I wonder if this another Buffalo situation. Mold is also a place name...

Re: Mold: A Modern Linker

#25
post #14

Earlier quoted context omitted.

Or mainframe OSes.

Not my area. Does compiling happen on mainframes these days?

For sure, IBM i, z/OS, and Unisys ClearPath have kept their own programming languages, in addition to Java, C and C++, both on their native environments as well as POSIX application layer.

Modern mainframe development environments are browser based.

Re: Mold: A Modern Linker

#26

Is it possible to use alternate linkers with Rust? Anything that helps Rust compile faster is pretty cool, especially if it allows better multithreaded scaling.

Yes, put this in your ~/.cargo/config.toml:

[target.x86_64-unknown-linux]

linker = "ld.lld"

Re: Mold: A Modern Linker

#27

Is it possible to use alternate linkers with Rust? Anything that helps Rust compile faster is pretty cool, especially if it allows better multithreaded scaling.

Sure you can. Please refer to the doc of zld on how to use zld as an alternative linker for Rust as an example:

https://github.com/michaeleisel/zld#if-using-rust

Re: Mold: A Modern Linker

#30
post #22
post #13

From a marketing perspective, "mold" meaning "a form used to cast an object from liquid" is a lot more appealing than "green fungus growing on bread." A mold for casting objects is also a lot closer, metaphorically speaking, to what a linker does. I honestly thought that was the meaning the author was trying to evoke before I saw the picture on the github page.

I was going to say: but the casting template is spelled 'mould' not 'mold'. Looked it up and realised that the US spelling is actually also 'mold' https://www.oxfordlearnersdictionaries.com/definition/englis...

Moreover, the fungus is spelled 'mould' in British English: https://dictionary.cambridge.org/dictionary/english/mould
Post reply on HN